Created
January 8, 2011 13:57
-
-
Save ikbear/770861 to your computer and use it in GitHub Desktop.
备份全站,网站目录为www
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
#!/bin/bash | |
suffix=$(date +%y%m%d) | |
tar -zcf www.$suffix.tar.gz www |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment