How do I find and delete old files in Linux?

How do I find and delete old files in Linux?
Answer
You can use the find command to search all files modified older than X days. And also delete them if required in single command. First of all, list all files older than 30 days under /opt/backup directory.
 

Tìm kiếm

Back
Top