-
-
Save matthewsimo/5606246 to your computer and use it in GitHub Desktop.
quick little shell script to non-destructively gzip a file in place
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
| #!/bin/bash | |
| FILE=$1 | |
| $(gzip < $FILE > $FILE.gz) |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/matthewsimo/gzk