Friday, 8 October 2021

Delete Files Older Than n Days on Linux

find /path/files* -mtime +n -exec rm {} \;

No comments:

Post a Comment

Note: only a member of this blog may post a comment.