TarTool – Windows tar gzip tgz extraction tool

TarTool is a tiny windows command line tool to extract tar gzip (tar.gz or tgz extension) files.

You can download TarTool , unzip and run TarTool.exe as a command line executable.

You can also download TarTool from this alternate download location if the link above is down or does not work for you.

The source code  for TarTool is now hosted on codeplex.

I wanted to play around with the Microsoft Shared Source CLI SSCLI. The download is only available as a tgz extension. Imagine that :-(

After searching the interwebs for tools that would extract tar gzip files , I was disappointed since there was no simple tool to extract tar gzip files on my windows machine.

There are a few tools out there like WinRAR etc., but I found them too bloated for my task.

So I wrote a little tool using SharpZipLib, the open source Zip, GZip, Tar and BZip2 library (great job guys, BTW).

SharpZipLib does most of the heavy lifting so the core of TarTool  is less than ten lines of C#. I can host the source code if there is enough interest.

The source is now hosted on codeplex.

Enjoy!

 Update (05/06/2009 17:00 CST) :

TarTool now has an addtional option to untar tar file formats.

TarTool -x sample.tar temp

will untar the sample.tar contents into the temp folder.

Update (04/02/2012 11:35 PM CDT)
bzip2 decompression is now supported in TarTool 2.0 Beta .
TarTool -xj sample.tar.bz2 temp
or
TarTool -j sample.bz2

12 Responses to “TarTool – Windows tar gzip tgz extraction tool

  • 1
    Aun
    January 24th, 2009 11:56

    7zip anyone? OSS.

  • 2
    senthil
    January 25th, 2009 14:59

    yeah … 7-zip is pretty neat. There were a few recommendations for this tool on various forums.

    TarTool.exe can be extended into cmdlets for powershell users. Besides it does only one thing extract tar.gz (tgz) on my windows 2008 machine, which is all I wanted to do.

  • 3
    Jens
    April 11th, 2011 08:28

    Works great, exactly the tool I needed to untar .tgz files on Windows.

  • 4
    Randy
    May 12th, 2011 11:34

    I needed a tool to untar a tar file in an automated script. This did exactly what I needed.

    Thanks

  • 5
    senthil
    May 12th, 2011 15:21

    Thanks Randy.

  • 6
    Shane
    June 6th, 2011 14:07

    TarTool works perfectly!
    This program will be in my tool box for a long time!
    Thank you – Shane

  • 7
    Ramon
    June 27th, 2011 05:56

    TarTool is great utility. It’s simple and fast and it helps me very much. Thanks for your job.
    Another tools (7zip, Winzip, WiRAR,…) are not able to unpack tar.gz file directly to original files. They unpack to temporary .tar file (in 1st step) and only then to original files (in 2nd step).
    TarTool does that! It saves a lot of time and disk space.

  • 8
    Keith Robinson
    March 22nd, 2012 02:31

    Lovely and simple. Worked ok, didn’t seem to want to take over my machine. Thank you.

    Keith

  • 9
    Mark
    April 2nd, 2012 11:55

    I am trying to install gimp 2.7 BETA which is a tar.bz2 and have tried every kind of tar extractors and NONE of them work, anyone know what I can do??

  • 10
    senthil
    April 2nd, 2012 16:32

    Mark,

    Check back again tomorrow. I am adding an option to decompress .tar.bz2 files.

  • 11
    senthil
    April 2nd, 2012 21:34

    tartool now supports bzip2 decompression.

    Download link, http://tartool.codeplex.com/releases/view/85391

    TarTool -xj sample.tar.bz2 temp
    or
    TarTool -j sample.bz2

  • 12
    Neela
    April 3rd, 2013 07:10

    Thanks a lot for this tool, works great!

Leave a Reply