msgbartop
A chronological documentation test project, nothing serious, really!
msgbarbottom

15 Apr 2007 Cronjobb som sletter gamle filer

Posted by

find /data/folder -type f -uid 400 -atime +2 -exec /bin/rm {} ;
find /data/folder -type d -uid 400 -atime +2 | sort -r | /usr/bin/perl -e 'foreach (<>) {chop; rmdir;

Tags: , , ,

Comments are closed.