« Install bcompiler for PHP on Ubuntu Linux | Home | Parsing text files in PHP with FlatfileTools »
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).
- Download bsdtar and extract to a directory, preferably without spaces.
- Go into Control Panel -> System and click on “Advanced”. Then click on “Environmental Variables”.

- 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.
- 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 | 169 Comments »

August 7th, 2026 at 18:04
Yesterday, while I was at work, my sister stole my iPad and tested to see if it can survive a thirty foot drop, just so she can be a
youtube sensation. My apple ipad is now broken and she has 83 views.
I know this is totally off topic but I had to share it with someone!
August 7th, 2026 at 18:06
You actually make it seem so easy together
with your presentation however I in finding this matter to be really something which I think I would never
understand. It seems too complicated and very
huge for me. I am looking ahead in your next post, I will try to get the cling of
it!
August 7th, 2026 at 18:18
I always used to read post in news papers but now as I am a user of internet thus from now I am
using net for posts, thanks to web.
August 7th, 2026 at 18:30
Good day! Would you mind if I share your blog with my myspace group?
There’s a lot of folks that I think would really enjoy your content.
Please let me know. Many thanks
August 7th, 2026 at 18:38
Tremendous things here. I am very happy to look your article.
Thanks so much and I am having a look forward to touch
you. Will you kindly drop me a mail?
August 7th, 2026 at 18:40
Very descriptive post, I enjoyed that a lot. Will there be a part 2?
August 7th, 2026 at 18:52
Wow, that’s what I was exploring for, what a material! present here at this web site, thanks admin of this website.
August 7th, 2026 at 19:01
I blog often and I genuinely appreciate your content.
The article has really peaked my interest. I’m going to
bookmark your blog and keep checking for new information about once per
week. I opted in for your Feed as well.
August 7th, 2026 at 19:32
Great post. I was checking continuously this blog and I am impressed!
Extremely helpful information specially the last part 🙂 I care for such information a lot.
I was looking for this particular information for a
very long time. Thank you and best of luck.
August 7th, 2026 at 19:47
I was curious if you ever considered changing the layout of your website?
Its very well written; I love what youve got
to say. But maybe you could a little more in the way of content so people could connect with it better.
Youve got an awful lot of text for only having one or 2 pictures.
Maybe you could space it out better?
August 7th, 2026 at 20:13
Thanks very interesting blog!
August 8th, 2026 at 13:03
Wow, that’s what I was exploring for, what a data! present here at this blog, thanks admin of this
web site.
August 8th, 2026 at 13:14
Post writing is also a excitement, if you be acquainted with after
that you can write if not it is complicated to write.
August 8th, 2026 at 13:15
Very energetic article, I liked that a lot. Will there be a part 2?
August 8th, 2026 at 13:34
My brother recommended I may like this web site. He used to
be totally right. This publish actually made my day.
You cann’t consider just how much time I had spent for this information! Thank you!
August 8th, 2026 at 13:37
I think the admin of this web page is genuinely working hard in favor of
his site, because here every information is quality based data.
August 8th, 2026 at 13:44
Have you ever considered publishing an e-book or guest authoring on other
websites? I have a blog centered on the same subjects you
discuss and would love to have you share some stories/information. I know my audience would value your work.
If you are even remotely interested, feel free to shoot me an e-mail.
August 8th, 2026 at 13:54
I just could not go away your site prior to suggesting that I extremely enjoyed the usual
information a person supply to your guests?
Is going to be back frequently to investigate cross-check new posts
August 8th, 2026 at 14:16
Good day! I know this is somewhat off topic but I was wondering if you knew where I could locate a captcha plugin for my comment
form? I’m using the same blog platform as yours and I’m having trouble finding one?
Thanks a lot!