Last active
August 29, 2015 14:04
-
-
Save hugooliveirad/9a0292b7a2550edb3c94 to your computer and use it in GitHub Desktop.
Generate zip from WordPress project (excluding node_modules and bower_components)
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
# Run it in the root of your wordpress project | |
# Create .zip from project, without node_modules and bower_components | |
projectname=${PWD##*/}; zip -x '*.git*' -x 'wp-content/uploads*' -x '*node_modules*' -x '*bower_components*' -r $projectname.zip . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment