Created
March 18, 2015 04:50
-
-
Save jearle/6bce63f86db335daf3ed 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
tar -zc --exclude wordpress/wp-content/themes/bucket-api/app/node_modules/ wordpress/wp-content/themes/bucket-api | ssh root@littlebigberry.com "cat > ~/file.tar.gz && tar -zxvf file.tar.gz && rm -rf /var/www/wp-content/themes/bucket-api/ && cp -r ~/wordpress/wp-content/themes/bucket-api/ /var/www/wp-content/themes/bucket-api/ && rm -rf file.tar.gz && rm -rf wordpress/" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment