UNIX Learning
Tuesday, April 17, 2012
list old files in one folder
The command is:
find your_folder -type f -mtime +7 -ls
here -type f just list files (f), not include folder (d)
-mtime +7 list files modified before 7 days
-ctime -7 list files created after one week ago
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment