-
-
Save rightfold/8407ace5c8c09dddf30a to your computer and use it in GitHub Desktop.
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
ssh www-data@you-will-never-know bash -c " | |
set -e | |
mkdir mss-unpack | |
tar -xf dist.tar.gz -C mss-unpack | |
mv mss mss-backup-${TIMESTAMP} | |
mv mss-unpack mss | |
cp mss-backup-${TIMESTAMP}/{.htaccess,robots.txt} mss | |
" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment