Skip to content

Instantly share code, notes, and snippets.

@jskripsky
Created December 5, 2011 17:09
Show Gist options
  • Save jskripsky/1434372 to your computer and use it in GitHub Desktop.
Save jskripsky/1434372 to your computer and use it in GitHub Desktop.
fischer/schuler: delete old zoom bundles
for file in $(ls -t *.xml | tail -n 50); do dir=$(echo $file | sed -e "s/.xml/\//"); rm $file -f; rm $dir -rf; done
#list of files:
# for file in $(ls -t *.xml | tail -n 50); do ls -l $file; done | less
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment