denalibird
IS-IT--Management
We are trying to delete files 14 days and older from a directory that contains a lot of files. We have been using the following:
find /logs -mtime +14 -type f -exec rm {} \;
This returns an error that the "list is too long."
Does anyone know of another way to do this?
Thanks!
find /logs -mtime +14 -type f -exec rm {} \;
This returns an error that the "list is too long."
Does anyone know of another way to do this?
Thanks!