Created
May 5, 2014 18:31
-
-
Save danielgamage/9ad124b7f226713c2c11 to your computer and use it in GitHub Desktop.
compress directory as a .tar.gz with shell script
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/sh | |
tar -cvzf /compress.tar.gz /directory-to-compress/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment