Archive

Posts Tagged ‘cleanup’

File cleanup script for Linux

May 2nd, 2012 1 comment

Sometimes disks fill up with logs for example, and we the administrators have to
login sometimes even wake up just to delete log files! Well this script solves the problem.
In this case I used to cleanup Glassfish log files. Just setup it on cron with X amount
of days to keep files. Carefull because its recursive.

Read more…

Categories: BashScripts Tags: , , , , , ,