Created
November 20, 2015 08:20
-
-
Save angusdev/654def50af5de485ca09 to your computer and use it in GitHub Desktop.
Bash command line to zip each file separately
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
| for i in *.log; do zip "${i%/}.zip" "$i"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment