-
-
Save 123Daoxyz/41793330b43a537551afbcd289515c61 to your computer and use it in GitHub Desktop.
Compress a Whole Linux or UNIX Directory
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
`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