Skip to content

Instantly share code, notes, and snippets.

@Kurt-P
Created August 16, 2013 17:37
Show Gist options
  • Save Kurt-P/6251883 to your computer and use it in GitHub Desktop.
Save Kurt-P/6251883 to your computer and use it in GitHub Desktop.
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