cd /home/username/public_html
Below command displays all files recursively that have been modified in the past 6 days.find . -mtime -6
Find list of files modified in the last X days
Find list of files modified in the last X days
Get in to the directory that you want the files to be checked.
Arun
WebhostingDevelopment.com
WebhostingDevelopment.com
Re: Find list of files modified in the last X days
How to move files older than X days to a new folder
Examplefind /source/folder/path/ -mtime +X -exec mv {} /destination/folder/path/ \;
cd /home/arun/mail/arunp.in/
find cur/ -mtime +365 -exec mv {} /home/arun/mail/arunp.in/arun/.2012/cur/ \;
Arun
WebhostingDevelopment.com
WebhostingDevelopment.com