Skip to content

Instantly share code, notes, and snippets.

@yang-zhang
Created May 20, 2018 02:25
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 yang-zhang/d81ca49843a69746c93eb58b149b7c98 to your computer and use it in GitHub Desktop.
Save yang-zhang/d81ca49843a69746c93eb58b149b7c98 to your computer and use it in GitHub Desktop.
How to untar all tar files in a directory
!for a in `ls -1 *.tar`; do tar xf $a; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment