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 help.
-Greg
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 help.
-Greg