Skip to content

Instantly share code, notes, and snippets.

@pi-chan
Created December 13, 2013 01:27
Show Gist options
  • Save pi-chan/7938583 to your computer and use it in GitHub Desktop.
Save pi-chan/7938583 to your computer and use it in GitHub Desktop.
#!/usr/bin/env ruby
while l = gets do
if l.index '?? '
path = l.gsub( /\?\? /, '' )
system "rm -rf #{path}"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment