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 | 345 Comments »

345 Responses to “Create and extract tarballs in Windows”

  1. general contractor Lexington KY Says:
    February 7th, 2026 at 22:54

    Its like you read my mind! You seem to know a lot about this, like you wrote the book in it or something.

    I think that you could do with some pics to
    drive the message home a bit, but instead of that, this is
    magnificent blog. A fantastic read. I will
    certainly be back.

  2. commercial electrical installation Says:
    February 7th, 2026 at 23:15

    I like it when people come together and share ideas.
    Great blog, keep it up!

  3. basement remodeling contractor Says:
    February 7th, 2026 at 23:15

    I will right away take hold of your rss feed as I can not in finding your e-mail subscription hyperlink or newsletter service.
    Do you have any? Please allow me recognize so that I may just
    subscribe. Thanks.

  4. electrical contractors Jacksonville NC Says:
    February 7th, 2026 at 23:21

    I do not know whether it’s just me or if everyone else encountering
    problems with your blog. It looks like some of the written text within your
    content are running off the screen. Can someone else please provide feedback and let me know if
    this is happening to them too? This might be a problem with my internet browser because I’ve had this happen previously.
    Thank you

  5. landscaping contractor Says:
    February 7th, 2026 at 23:28

    I every time used to read piece of writing in news papers but now as I am a user of
    web therefore from now I am using net for articles or reviews, thanks to web.

  6. deck builders Lexington KY Says:
    February 7th, 2026 at 23:29

    Keep this going please, great job!

  7. commercial electrical installation Says:
    February 7th, 2026 at 23:41

    I seriously love your website.. Very nice colors & theme.
    Did you make this site yourself? Please reply
    back as I’m hoping to create my very own site and would love
    to find out where you got this from or just what the theme is named.
    Many thanks!

  8. move out cleaning services Spokane Says:
    February 8th, 2026 at 00:24

    Touche. Great arguments. Keep up the great effort.

  9. building demolition services Says:
    February 8th, 2026 at 01:13

    Keep on writing, great job!

  10. excavation companies Says:
    February 8th, 2026 at 01:45

    Very rapidly this web site will be famous among all blogging and site-building viewers, due to it’s fastidious
    content

  11. HVAC installation Wichita Says:
    February 8th, 2026 at 15:43

    I like the valuable information you provide in your articles.
    I will bookmark your blog and check again here regularly.

    I’m quite certain I will learn a lot of new stuff right here!
    Good luck for the next!

  12. air conditioning replacement Wichita KS Says:
    February 8th, 2026 at 16:05

    I must thank you for the efforts you’ve put in writing this blog.
    I am hoping to check out the same high-grade content by you in the future as well.
    In fact, your creative writing abilities has motivated me to get my very own blog now 😉

  13. black owned hair care brands Says:
    February 11th, 2026 at 20:19

    I’m not sure why but this website is loading very slow for
    me. Is anyone else having this problem or is it a problem on my end?
    I’ll check back later on and see if the problem still exists.

  14. black owned hair care products Says:
    February 11th, 2026 at 20:38

    Good day! I could have sworn I’ve been to this blog before but after looking at a few of the articles I realized it’s new to
    me. Nonetheless, I’m definitely pleased I came across it and I’ll be book-marking it and
    checking back often!

  15. black owned perfume brands Says:
    February 11th, 2026 at 20:51

    Hello! I simply want to offer you a huge thumbs up for your excellent information you
    have right here on this post. I am returning to your site for more soon.

  16. College of Arts and Sciences undergraduate Says:
    February 12th, 2026 at 01:31

    Generally I do not learn post on blogs, but I would like to say that this write-up very pressured me to check out and do so!
    Your writing taste has been amazed me. Thanks, quite nice post.

  17. Culinary industry advocate Says:
    February 12th, 2026 at 01:57

    Everyone loves it when individuals come together and
    share thoughts. Great site, stick with it!

  18. Teen Art Market co-founder Says:
    February 12th, 2026 at 02:02

    Hi there! I know this is kind of off topic but I was wondering
    which blog platform are you using for this website? I’m getting fed up of WordPress because I’ve had issues with
    hackers and I’m looking at alternatives for another platform.
    I would be fantastic if you could point me in the direction of
    a good platform.

  19. Artist-parent success disparities study Says:
    February 12th, 2026 at 02:15

    Hi there i am kavin, its my first time to commenting anywhere, when i read this article i
    thought i could also make comment due to this good paragraph.

  20. Pacific Palisades resident Says:
    February 12th, 2026 at 02:15

    Howdy outstanding blog! Does running a blog like this
    take a great deal of work? I’ve absolutely no expertise in computer programming however I was hoping to start my own blog soon. Anyway, if you have any ideas or tips for
    new blog owners please share. I understand this is off topic however I just had to ask.
    Kudos!

  21. Dedicated student athlete Says:
    February 12th, 2026 at 02:49

    Very good blog post. I certainly appreciate this site.

    Continue the good work!

  22. Young business founder Says:
    February 12th, 2026 at 02:55

    Because the admin of this web site is working, no doubt very shortly it will
    be well-known, due to its quality contents.

  23. Scholar Launch Research Program participant Says:
    February 12th, 2026 at 03:04

    Ahaa, its pleasant discussion concerning this paragraph here at this weblog, I
    have read all that, so at this time me also commenting here.

  24. Long-distance swimmer Says:
    February 12th, 2026 at 03:16

    May I just say what a relief to uncover an individual who
    really knows what they’re discussing on the net. You actually realize how to bring a problem
    to light and make it important. More people have to check this out and understand this side of your
    story. I was surprised you’re not more popular given that
    you surely possess the gift.

  25. Museum studies student Says:
    February 12th, 2026 at 03:45

    You made some decent points there. I checked on the web
    for more info about the issue and found most individuals will go along with your views on this website.

  26. Culinary industry advocate Says:
    February 12th, 2026 at 03:57

    Hello Dear, are you genuinely visiting this site on a regular basis, if so afterward you will definitely get nice know-how.

  27. Pandemic training resilience Says:
    February 12th, 2026 at 04:18

    Useful info. Lucky me I found your website accidentally,
    and I am surprised why this accident didn’t came about earlier!
    I bookmarked it.

  28. Culinary industry advocate Says:
    February 12th, 2026 at 04:32

    I blog quite often and I seriously thank you for your content.
    Your article has truly peaked my interest.
    I’m going to take a note of your blog and keep checking for new information about once a week.

    I opted in for your Feed too.

  29. Business Minor student Says:
    February 12th, 2026 at 04:56

    Incredible points. Solid arguments. Keep up the great
    work.

  30. Youth sports competitor Says:
    February 12th, 2026 at 06:07

    Usually I do not learn post on blogs, however I would like to say that this write-up very forced me to take
    a look at and do so! Your writing style has been surprised me.
    Thank you, very nice post.

  31. починка бойлера Says:
    February 14th, 2026 at 16:13

    Отличная статья, спасибо автору!
    Именно столкнулся с проблемой
    нагрева воды. Ключевой момент, что не стоит браться в
    ремонт самостоятельно, если нет опыта.
    Простейший неверный шаг — и зачастую потребоваться уже недешёвая покупка нового.
    Рекомендую всегда вызывать мастера, в частности для проверки и дальнейшего
    нормального ремонта.

  32. Visit Website Says:
    February 17th, 2026 at 13:00

    Fine way of explaining, and pleasant article to get facts regarding my presentation topic,
    which i am going to deliver in college.

  33. general contractors in Nashville TN Says:
    February 17th, 2026 at 13:28

    Pretty nice post. I just stumbled upon your weblog and wished to mention that I have truly loved
    browsing your blog posts. In any case I will be subscribing to your rss
    feed and I’m hoping you write once more very soon!

  34. general contractors in Nashville TN Says:
    February 17th, 2026 at 14:13

    It’s really a great and useful piece of information. I’m
    happy that you just shared this useful info with us.
    Please keep us informed like this. Thank you for sharing.

  35. Salt Lake City water damage restoration Says:
    February 17th, 2026 at 16:04

    Amazing! This blog looks exactly like my old one!
    It’s on a completely different topic but it has pretty much the same page layout and design. Outstanding choice of colors!

  36. water damage restoration Utah Says:
    February 17th, 2026 at 17:20

    I’m not that much of a internet reader to be honest but your sites really nice, keep it up!
    I’ll go ahead and bookmark your site to come back later on. All the best

  37. foundation repair Murfreesboro TN Says:
    February 17th, 2026 at 18:34

    whoah this weblog is great i love reading your posts. Stay up the good work!
    You know, many people are looking around for this information, you could aid them greatly.

  38. driveway repair Nashville Says:
    February 17th, 2026 at 18:36

    Hey There. I discovered your blog the usage of msn. That is a really well written article.
    I will be sure to bookmark it and return to read extra of your helpful information. Thanks for the post.
    I will certainly comeback.

  39. concrete Franklin TN Says:
    February 17th, 2026 at 21:15

    I’m truly enjoying the design and layout of your blog.

    It’s a very easy on the eyes which makes it much more pleasant for me to come here and visit more often. Did you hire out a developer to create your theme?
    Excellent work!

  40. water damage restoration Salt Lake City Says:
    February 17th, 2026 at 21:15

    Its like you read my mind! You seem to know a lot about this, like you wrote the book
    in it or something. I think that you could do with some pics to drive the
    message home a bit, but instead of that, this is fantastic
    blog. A great read. I will certainly be back.

  41. International Development Consultancy Egypt Says:
    February 18th, 2026 at 15:29

    Really no matter if someone doesn’t know then its
    up to other visitors that they will help, so here it takes place.

  42. Georgia addiction treatment center Says:
    February 18th, 2026 at 15:30

    I believe what you posted was actually very logical.
    But, think on this, suppose you typed a catchier post title?
    I am not saying your information is not good.,
    but suppose you added a post title that grabbed people’s attention? I mean Create and
    extract tarballs in Windows at Compdigitec Labs is a
    little vanilla. You could glance at Yahoo’s front page and note how they
    create news headlines to get people to open the links. You might add
    a video or a related pic or two to grab readers excited about everything’ve written. In my opinion, it might make your blog a little bit
    more interesting.

  43. addiction treatment Says:
    February 18th, 2026 at 15:36

    Its like you read my mind! You seem to know a lot about this, like you wrote the book in it or something.
    I think that you can do with a few pics to drive the message home a little bit, but other than that, this is wonderful blog.

    A fantastic read. I will certainly be back.

  44. International Development Consultancy Egypt Says:
    February 18th, 2026 at 15:52

    always i used to read smaller posts which as well clear their motive, and that is also happening with this article which I am reading
    at this time.

  45. home appliance service Moscow Says:
    February 19th, 2026 at 00:01

    I was scared going to a new auto shop because I’m a college student new to the
    area, but they were upfront and kind – very affordable service too!!

Comments