Compdigitec Labs

« | Home | »

Create and extract tarballs in Windows

By admin | August 12, 2008

For those of you who want to extract and create tarballs (tgz, tbz) on the Windows platform, there are many commercial tools to extract tarballs. If you want an graphical app, you can use the open-source 7-zip archiver for Windows.

However, there are also not many tools extract tarballs from the command line (cmd.exe or command.com). Below are easy steps to install a GNU Tar-like program (bsdtar) to use in the command line. BSDtar is licensed under the BSD License (as specified here).

  1. Download bsdtar and extract to a directory, preferably without spaces.
  2. Go into Control Panel -> System and click on “Advanced”. Then click on “Environmental Variables”.
    Screenshot of the Advanced tab
  3. In the user variables section, add the path you extracted bsdtar to the PATH variable. If the PATH variable has not been created, create it.
  4. You’re done! To test it, type tar zcvf archive.tar.gz * to create a tarball (tar+gzip) of all the files in the current directory.

If you found this article helpful or interesting, please leave a comment or help us spread the word!

If you found this article helpful or interesting, please help Compdigitec spread the word. Don’t forget to subscribe to Compdigitec Labs for more useful and interesting articles!

Topics: Windows | 267 Comments »

267 Responses to “Create and extract tarballs in Windows”

  1. Rockport General Contractor Says:
    February 1st, 2026 at 10:05

    I couldn’t resist commenting. Very well written!

  2. kitchen remodel Corpus Christi Says:
    February 1st, 2026 at 10:16

    These are truly great ideas in concerning blogging.
    You have touched some pleasant points here. Any way keep up wrinting.

  3. remodel Corpus Christi Says:
    February 1st, 2026 at 10:25

    Having read this I believed it was very enlightening.

    I appreciate you finding the time and energy to put this content together.
    I once again find myself spending way too much
    time both reading and posting comments. But so
    what, it was still worth it!

  4. bathroom remodelers in Rockport TX Says:
    February 1st, 2026 at 10:41

    Thanks for your personal marvelous posting! I genuinely enjoyed reading it, you happen to
    be a great author. I will ensure that I bookmark your blog and will come back in the future.

    I want to encourage you to definitely continue your great posts, have a nice weekend!

  5. home remodeling Corpus Christi Says:
    February 1st, 2026 at 10:48

    Great website. Lots of useful information here. I am sending it to several buddies
    ans also sharing in delicious. And of course, thank you on your sweat!

  6. remodeling contractors Corpus Christi Says:
    February 1st, 2026 at 10:55

    Hello! I’m at work surfing around your blog from my new iphone 4!

    Just wanted to say I love reading through your blog and look
    forward to all your posts! Keep up the excellent work!

  7. MLS Edmonton Says:
    February 1st, 2026 at 17:40

    Howdy would you mind stating which blog platform you’re using?
    I’m looking to start my own blog soon but I’m having a
    difficult time deciding between BlogEngine/Wordpress/B2evolution and Drupal.
    The reason I ask is because your design and style
    seems different then most blogs and I’m
    looking for something completely unique. P.S Sorry
    for getting off-topic but I had to ask!

  8. standing seam metal roofing Cedar Park Says:
    February 1st, 2026 at 17:41

    At this time I am going to do my breakfast, after having my breakfast coming again to read other news.

  9. house for sale Edmonton Says:
    February 1st, 2026 at 17:41

    Do you have a spam problem on this site; I also am a blogger, and I was wanting to know your situation; many of us have created some nice methods and we are looking to swap strategies with others, please
    shoot me an e-mail if interested.

  10. AC repair Round Rock TX Says:
    February 1st, 2026 at 17:46

    Hi there everyone, it’s my first pay a quick visit at this
    website, and post is really fruitful in support of me,
    keep up posting these types of articles.

  11. painting contractor Chico Says:
    February 1st, 2026 at 17:59

    Hello! I know this is somewhat off topic but I was wondering which blog platform are you using for
    this site? I’m getting tired of WordPress because I’ve had problems with hackers and
    I’m looking at alternatives for another platform. I would be
    awesome if you could point me in the direction of a good platform.

  12. metal roofing in Cedar Park Says:
    February 1st, 2026 at 18:02

    Remarkable! Its in fact remarkable article, I have got much clear idea concerning from this paragraph.

  13. HVAC service Round Rock TX Says:
    February 1st, 2026 at 18:06

    I feel that is one of the so much significant info for me.
    And i am happy reading your article. But should remark on some general issues, The website taste is perfect, the articles is really great :
    D. Excellent activity, cheers

  14. Visit Website Says:
    February 1st, 2026 at 18:12

    Asking questions are really good thing if you are not understanding something entirely, however
    this post provides good understanding even.

  15. HVAC Round Rock Says:
    February 1st, 2026 at 18:22

    If you are going for best contents like me, only go to see this website every day for the reason that it offers quality contents, thanks

  16. metal roofing Cedar Park TX Says:
    February 1st, 2026 at 18:24

    I blog quite often and I genuinely appreciate your information. This great article has
    truly peaked my interest. I will bookmark your website and keep checking for new
    information about once a week. I subscribed to your Feed too.

  17. мастер по ремонту ноутбуков Says:
    February 4th, 2026 at 05:43

    Замечательный центр по починке гаджетов!

    Обращался на днях с поломкой
    планшета. Мастера оперативно нашли причину и все починили.
    Цены вменяемые, дали гарантию.
    Однозначно рекомендую!

Comments