9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
:)Hi Unix Specialists,
I need your advice on how to find all the files from root ( / ) filesystem but exclude those from /export/home (different filesystem) folder. Below are some of the find statements that I have tried without success:
find / -name '/export/home' -prune -o print -ls
... (6 Replies)
Discussion started by: gjackson123
6 Replies
2. Shell Programming and Scripting
Hi all,
I have created a function that looks for a folder in a particular directory, checks the date it was last modified and if its old then compress it.
This works fine for files using gzip. However for folders I had to use tar. This is my function:
compressOldFolder()
{
# $1 is... (10 Replies)
Discussion started by: TasosARISFC
10 Replies
3. Linux
Hi All,
In linux server some encryption keys were imported using gpg command.
I want to know when those keys was imported.
Is there any way to get when the encryption keys were imported?
Thanks in advance..
:rolleyes: (1 Reply)
Discussion started by: latika
1 Replies
4. Shell Programming and Scripting
Hi all I'm new to your forum but not new to shells. I'm having a little trouble though as it's been quite some time since I scripted. Here's what I'm trying to do:
I'm trying to search a directory named '/var/root/Applications' for another directory 'fooBar'. The "Applications" directory... (9 Replies)
Discussion started by: DC Slick
9 Replies
5. Shell Programming and Scripting
Hi,
I want to find out the files that are created the recent, how can I do it?
find . -type d
( i dont know what option to use to find the latest, it can be 1 day old or 10 days, but want to pick the latest one only)
Thanks, (5 Replies)
Discussion started by: rudoraj
5 Replies
6. Shell Programming and Scripting
A solaris server with SAMBA share folder. The PC users created many folders with space on it, I want to find them out, but not list its subfolders.
For example, I have below folders
Copy of ABC/efg/xy
sa/Test again/xyt
If I use command: find . -type d |grep " " I will list 6 folders, but... (2 Replies)
Discussion started by: rdcwayx
2 Replies
7. Shell Programming and Scripting
Hi all,
*I use Uwin and Cygwin emulator.
I´m trying to search for all text files in the current folder (C/Files) and its sub folders using
find -depth -name "*.txt"
The above command worked for me, but now I would like to copy all found text files to a new folder (C/Files/Text) with ... (4 Replies)
Discussion started by: cgkmal
4 Replies
8. UNIX for Dummies Questions & Answers
HI ,
I have a very small requirement here. I need to find a file say which ends with .gz in a folder. If i found this file then i need to echo" file found" and do a word count of the file and if not i need to echo file not found and exit from the loop. i have written this script but i am only... (7 Replies)
Discussion started by: bsandeep_80
7 Replies
9. Shell Programming and Scripting
Hi Script Experts,
Here is my scenario:
1. /var/mqm/qmgrs folder will contain 11 folders as follows:
1. /var/mqm/qmgrs/Folder_Name1
....................../Folder_Name2
....................../Folder_Name3
.......
...................../Folder_Name11
2. if Folder_Name1 exists... (5 Replies)
Discussion started by: hkhan12
5 Replies