Last active
September 22, 2015 17:20
-
-
Save stevekm/dc0a4c8a0a7c9c10dd1b to your computer and use it in GitHub Desktop.
Gzip 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
#!/bin/bash | |
gzip -cvr /path/to/input/dir/ > /path/to/output.gz | |
# -c std out | |
# -r recursive through dir | |
# -v verbose, of course | |
# pipe to file you want output in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment