Skip to content

Instantly share code, notes, and snippets.

@123Daoxyz
Created February 7, 2017 03:18
Show Gist options
  • Save 123Daoxyz/41793330b43a537551afbcd289515c61 to your computer and use it in GitHub Desktop.
Save 123Daoxyz/41793330b43a537551afbcd289515c61 to your computer and use it in GitHub Desktop.
Compress a Whole Linux or UNIX Directory
`tar -zcvf archive-name.tar.gz directory-name`
Where,
-z : Compress archive using gzip program
-c: Create archive
-v: Verbose i.e display progress while creating archive
-f: Archive File name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment