10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
Please tell me what the below command wil do, according to my understanding it finds files in the current and sub directories whose modification time is 5 hrs and it dont zip the already zipped files who's size is more than 4K.
Am I Correct?
find . -type f -mmin +300 ! -name... (1 Reply)
Discussion started by: nag_sathi
1 Replies
2. Shell Programming and Scripting
All,
I am using following find command to see all the files with specified pattern :
find /exp/source -exec grep -li "SIT_MARKET" {} \;
say , the /exp/source has n number of subdirectories and each subdirectory has its own directory tree. If this is the case I will get a result... (9 Replies)
Discussion started by: kanu_kanu
9 Replies
3. Shell Programming and Scripting
Hi,
I am a little bit confusing of using find command.
Actually, I am planning to delete the files whatever the files are existing in the day before yesterday. So, I am writing the command like this.
find . -name "*.txt" -ctime -2 { here I am confusing, if I will use +2 or +1 also I am... (5 Replies)
Discussion started by: nagraju.allam
5 Replies
4. Shell Programming and Scripting
Hi All,
Could you please help me in searching files in a better way satisfying the below conditions
I want to search files in a path whose access time is more than 5min and less than 60 min and whose Byte size is greater than zero
For this, i am using the below command, but it is... (2 Replies)
Discussion started by: sparks
2 Replies
5. Shell Programming and Scripting
Hi
I have a directory say mydir and inside it there are many files and subdirectories and also a directory called lost+found owned by root user
I want to print all files directories and subdirectorres from my directory using find command except lost+found
If i do
find . \( -name... (3 Replies)
Discussion started by: xiamin
3 Replies
6. UNIX for Dummies Questions & Answers
Hi , Kindly help me out .:)
i want to find only the file t4 in directory t3. i am in dir t . the tree is as follows.
if i give,
find .
o/p is
.
./t4
./t1
./t1/t2
./t1/t2/t3
./t1/t2/t3/t4
./t1/t2/t4
./t1/t4
directories are like t/t1/t2/t3 and each directory has file t4.
my... (7 Replies)
Discussion started by: bhuvaneshlal
7 Replies
7. Solaris
hi
find command is not working with -mmin in Solaris Os.
Do we hav any alternative to find the modified file in any specified time span ( suppose in last 1- 2 hours)
Thanks (2 Replies)
Discussion started by: Prat007
2 Replies
8. UNIX for Dummies Questions & Answers
hi,
Function 'mmin' is not in my unix, what is the other alternative to find files created/modified in last 10 minutes.
Unix Command:
find . -min -10
find: bad option -min
find: path-list predicate-list
Thank you (1 Reply)
Discussion started by: Mohee
1 Replies
9. HP-UX
Hi Everyone,
I would like to know how to find a file which was created in the period of 20+ hours, in most common unix OS, the parameter -mmin is not supported (i.e, HP-UX, Solaris, LInux, AIX)
Could you help on this ?? (3 Replies)
Discussion started by: jmbeltran
3 Replies
10. UNIX for Dummies Questions & Answers
I wanna show all files like...one minute old, one hour old, five hours old and so on...
in my OS (HP-UX) there's only the command ..
find -name "..." -mtime -n
but this is only for days, there isn't something like -mmin -n ...just don't know what to do. also the newer than option isn't... (3 Replies)
Discussion started by: svennie
3 Replies