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.
This will delete all files older than 5 days, you can put a
or if you want to recurse (and list e.g. only files ending with