Hello.
I would like to run a crontab script which removes certain files by extension in a specific directory.
I want to keep *.zip files and a file called upload.html
i.e
/files/hello.zip <- keep
/files/upload.html <-keep
/files/*.anythingelse <- delete
Thanks very much in advance for any...
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.