Skip to content

Instantly share code, notes, and snippets.

@lando2319
Created March 29, 2024 11:29
Show Gist options
  • Save lando2319/717ac69a7252efd67378f7728af8c9e9 to your computer and use it in GitHub Desktop.
Save lando2319/717ac69a7252efd67378f7728af8c9e9 to your computer and use it in GitHub Desktop.
# to tar a dir
tar -czvf name-of-archive.tar.gz /path/to/directory
# to untar
tar -xzvf name-of-archive.tar.gz -C /path/to/destination/directory
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment