Template:Snippets/Deleting removed files

From Dreamwidth Notes
Jump to: navigation, search
cd $LJHOME
for i in $(bin/cvsreport.pl -n -1); do 
   echo "Removing $i" && rm $i; 
done