Created
May 24, 2015 01:33
-
-
Save kathawala/88f2c5be8b1161496e03 to your computer and use it in GitHub Desktop.
one-liner to zip all .c and .h files in a directory
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
find . | grep -E '\.(c|h)$' | zip six.zip -@ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment