P
peterepka
Hello.
I need to write a script to delete files older than 30 days in the tmp directory of server.
would the following work ?
/tmp -mtime +30 -type f -exec rm {} \;
thanks in advance
Pete
Continue reading...
I need to write a script to delete files older than 30 days in the tmp directory of server.
would the following work ?
/tmp -mtime +30 -type f -exec rm {} \;
thanks in advance
Pete
Continue reading...