I found some command line code for deleting 0 byte files from a server but I don't know what type of file extension to save it as so I can run it as a cron job? Code: find directory -maxdepth 1 -size 0 -delete -type F -mtime +1
command line to cron file
4
I found some command line code for deleting 0 byte files from a server but I don't know what type of file extension to save it as so I can run it as a cron job?
Code:
find directory -maxdepth 1 -size 0 -delete -type F -mtime +1
- Mauro Chojrin
- [1] reply
- Wayne Zimmerman
- starrychloe
Next Topics on Trending Feed
-
4