cleanout

demise/player/cleanout · 236 B

From the archive dodbackup-final.tar.gz

Download the archive   « Back to the archive contents

find ~/demise/player -type f -maxdepth 1 -mtime +90 >> out.out
grep -v -i -f dontdelete.txt out.out > out2.out
tar czf deletedusers.tar.gz --files-from=out2.out
for i in `cat out2.out`; do rm -rf $i; done
rm -rf out.out
rm -rf out2.out

Site Stats

Snippets: 1791
Codebases: 571