1 Answer
Find command is enough to do this process...
For example: If some files are modified in test1 user's Desktop, use the following command.
# find /home/test1/Desktop -cmin -60
This command will give the modified files for last 60 minutes, for days just change it to -ctime and mention the days.
To find and delete with the same command, use below
# find /home/test1/Desktop -cmin -60 -exec rm -f {}\;
Your Answer