Nguyễn Thị Thuý
New member
How do I delete 15 days old files in UNIX?
Answer
Unix – Delete files older than a certain number of days using…
Answer
Unix – Delete files older than a certain number of days using…
- Save the deleted files to a log file. find /home/a -mtime +5 -exec ls -l {} ; > mylogfile.log. …
- modified. Find and delete files modified in the last 30 minutes. …
- force. force delete temp files older then 30 days. …
- move the files.