Skip to content

Instantly share code, notes, and snippets.

@vlrmprjct
Created June 18, 2015 07:23
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 vlrmprjct/f30e386d913dccfc9a7c to your computer and use it in GitHub Desktop.
Save vlrmprjct/f30e386d913dccfc9a7c to your computer and use it in GitHub Desktop.
tar and untardirectory
# tar directory
tar -czvf Output_File_Name.tar.gz Directory_Name
tar -zcvf demo.tar.gz demo
# which will create a tar file named "demo.tar.gz"
# to untar directory
tar -xzvf Input_File_Name.tar.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment