Created
July 3, 2018 15:42
-
-
Save jeremyfelt/21cc80bc9db53a8c768e8b69010cb687 to your computer and use it in GitHub Desktop.
Syncing a WordPress directory into WSUWP
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/sh | |
# | |
# Sync the WordPress tracking repo with that inside WSUWP. | |
# | |
rsync --delete -rlgDh --exclude '.git' --exclude 'wp-content/plugins' --exclude 'wp-content/themes' ~/Development/wordpress/ ~/Development/vvv/www/wsuwp/www/wordpress/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For the above to work, I have:
~/Development/wordpress/
~/Development/vvv/www/wsuwp/
I fetch the latest tags from WordPress with: