Skip to content

Instantly share code, notes, and snippets.

@unixsam
Created August 12, 2019 19:43
How to compress a whole directory in Linux or Unix
You need to use the tar command as follows (syntax of tar command):
tar -zcvf archive-name.tar.gz directory-name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment