Last active
September 22, 2017 22:30
-
-
Save AnasAboreeda/533091638a7169d698a4e6db26a92028 to your computer and use it in GitHub Desktop.
[Zip all files in a directory]Zip All files/folders inside a directory except .zip, .git files #zip #compress #Bash #ShellScript
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
zip -9 -rq $(echo Archive-Name-$(date +%y%m%d%H%M).zip) . -x \*.git\* -x \*.zip\* -x \*.DS_Store\* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment