Created
March 26, 2013 04:59
-
-
Save jasperf/5243249 to your computer and use it in GitHub Desktop.
Gzip and Gunzip a whole site from the command line
This file contains hidden or 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
//Gzip a site on the server as a backup | |
tar -zcvf domain.com.tar.gz /home/jasper/domain.com | |
//Gunzip a gzipped tar file | |
tar -zxvf domain.com.tar.gz | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment