I left out the -ctime +3 because I didn't have a file more than 3 days old that I wanted to remove. I used nawk because awk on my system does not have the system command.
Hope this helps.
CaKiwi
After all is said and done, a lot more will have been said than done.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.