Created
August 16, 2013 17:37
-
-
Save Kurt-P/6251883 to your computer and use it in GitHub Desktop.
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
tar -cv --file=outPutFile.tar source\of\file | |
gzip -9 < outPutFile.tar > outPutFile.tar.gz | |
del outPutFile.tar | |
#possible bat file with variables would look like this: | |
tar -cv --file=%1 %2 | |
gzip -9v < %1 > %1.gz | |
del %1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment