10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Dear all,
i am trying to find all files created one day before, for example 26 October, and i am using this command:
find . -type f -daystart -mtime 1
This command in fact lists all files created on 26 October, but the files between midnight 00:00 26 Oct and 01:00 26 Oct, does not shown... (4 Replies)
Discussion started by: arrals_vl
4 Replies
2. Red Hat
Hello,
what this command do.
find /oracle/u01/app/oracle/admin/rdz/udump/ -name "*.trc" -mtime +1
Thanks,
Umair (1 Reply)
Discussion started by: umair
1 Replies
3. Shell Programming and Scripting
Dear all,
find $ADMIN_DIR/$SID/arch/ -name '*.gz' -mtime +7 -exec rm {} \;
is it retaining 7 days OR 8 days .gz files ?
Thanks
Prakash (10 Replies)
Discussion started by: prakashoracledb
10 Replies
4. UNIX for Dummies Questions & Answers
Hi
I've made some test with perl script to learn more about mtime...
So, my question is :
Why the mtime from findfind /usr/local/sbin -ctime -1 -mtime -1 \( -name "*.log" -o -name "*.gz" \) -print are not the same as mtime from unix/linux in ls -ltr or in stat() function in perl : stat -... (2 Replies)
Discussion started by: hiddenshadow
2 Replies
5. Shell Programming and Scripting
Hi,
I've some files of some past days and everyday some new files are also getting added to the same.
Now how can i use mtime to get the files of the current date i.e if i want the files of 25th feb 2009 and if im finding the files on 25th 12:10 am then i should only get the files after... (4 Replies)
Discussion started by: ss_ss
4 Replies
6. UNIX for Dummies Questions & Answers
Hello,
Can someone help me to understand the following:
find /test/rman/ -mtime +30 -exec rm '{}' \;
What does -mtime +30 mean?
Thanks! (1 Reply)
Discussion started by: Blue68
1 Replies
7. Shell Programming and Scripting
hi, :)
consider the following statement
find . -type f -mtime -1 -print
here what is the use of -1 option.
any help?
cheers
RRK (7 Replies)
Discussion started by: ravi raj kumar
7 Replies
8. UNIX for Dummies Questions & Answers
thank you for the help. (2 Replies)
Discussion started by: scooter17
2 Replies
9. UNIX for Dummies Questions & Answers
...what am i doing wrong??
I need to find all files older than 30 days and delete but I can't get it to pull details for ANY + times. The file below has a time stamp which is older than 1 day, however if I try and select it using any of the -time flags it just doesn't see it. (the same thing... (1 Reply)
Discussion started by: topcat8
1 Replies
10. UNIX for Dummies Questions & Answers
:D i have a slight problem and would appreciate if someone could clarify the confusion.. i use find alot and so far i have done ok.. but it just struck me a couple of days ago that I am not quite sure what the difference between the modification time and the change time as in ctime and mtime and... (3 Replies)
Discussion started by: moxxx68
3 Replies