Created
July 8, 2014 05:01
-
-
Save dpflug/e4cccbb3e38a1d0502b0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Pipe the output of unzip -t into this to fix it spraying files all over your precious directory, | |
# rather than deflating into one nice directory like RMS intended. | |
# Also, there's probably a better way to do this, but it's 1AM. | |
awk '/OK/ { if (NF > 3) print "\42"$2,$(NF-1)"\42" ; else print "\42"$2"\42" }' | xargs rm -r |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment