Created
May 5, 2019 19:47
-
-
Save Asikur22/872d554d1c2df83e185194de1e7f0c35 to your computer and use it in GitHub Desktop.
Zip for WP #CommandLine
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
zipforwp() { FILENAME=`basename $1` && zip -r $FILENAME.zip $1 -x '/*.git/*' -x '/*.DS_Store' -x '/*.gitignore' -x '/*.idea/*' && echo 'Zipped!' | terminal-notifier -sound default } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment