##To compress all files of foldername##
tar -cvzf docs.tar.gz /var/www/html/foldername
##extract docs.tar.gz in docs folder##
tar -xvzf docs.tar.gz
Last active
January 29, 2018 06:13
-
-
Save msanjaypandit/344a04ebc59a89d94c77934b9e533ce9 to your computer and use it in GitHub Desktop.
[compress/decompress files] Compress and decompress .tar.gz files #tar.gz #compress
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment