Skip to content

Instantly share code, notes, and snippets.

@lexbeelen
Created March 8, 2017 07:47
Show Gist options
  • Save lexbeelen/3c33e3f946512cd4ae00d9cb6294b556 to your computer and use it in GitHub Desktop.
Save lexbeelen/3c33e3f946512cd4ae00d9cb6294b556 to your computer and use it in GitHub Desktop.
Create and extract tar gz
# Create tar gz file from directory
tar -zcf archive-name.tar.gz foldername/
# Extract tar gz file
tar -zxvf archive.tar.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment