Is there a command to delete all the files in a directory that haven't been modified in N days? I need to clean up some old logs.
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
This will delete all files older than 5 days, you can put a
|
|||||||
|
