Skip to content

Instantly share code, notes, and snippets.

@guenter
Created November 24, 2019 06:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save guenter/2f9dc1044fd14548c66a0465458ab321 to your computer and use it in GitHub Desktop.
Save guenter/2f9dc1044fd14548c66a0465458ab321 to your computer and use it in GitHub Desktop.
Bash One-liners to clean up your everday messes

Delete all the files after accidentally extracting a tarball and spilling files allover

tar tf oopsie.tgz | xargs rm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment