-
Hi All,
I am using HP-UX 11 version. I want list all the files created n days ago. I tried "find" coomnad with "-ctime" option.But it is giving erratic results.Can anyone suggest a way to do this??
Thanks,
Madhu
-
What do you mean by "erratic results"?
Jeff Hunter
-
Hi,
I used " find . -ctime +7 -name "*" -print " command.It is supposed to display all the files created more than 7 days ago.But it is displaying the files created within the lost 7 days also.
Thanks
Madhu
-
hmm, -ctime on Solaris means the file status changed not created...
Jeff Hunter
-
I'm not sure if this will help but I just user..
LL |grep Jun' '19
This command listed all the files created on Jun 19
MH
-
Hi there,
Are there additional parameter in "find" that will list files sorted in size. I to delete unneccessary big files.
-
Check man pages on find...
man find, or you can write an awk script that would do the work for you.
Sam
Thanx
Sam
Life is a journey, not a destination!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|