Skip to main content

How to Unpack a tar file on Windows?

On Windows:
You can download a simple command line tool to do this.
You can download the tool from here
Usage can be found on the website but pasting it here too for convenience:
C:\>TarTool.exe
Usage :
C:\>TarTool.exe sourceFile destinationDirectory
C:\>TarTool.exe D:\sample.tar.gz ./
C:\>TarTool.exe sample.tgz temp
C:\>TarTool.exe -x sample.tar temp
TarTool 2.0 Beta supports bzip2 decompression for files with extensions like tar.bz2 and .bz2.
TarTool -xj sample.tar.bz2 temp
or
TarTool -j sample.bz2
Download TarTool 2.0 Beta from here

Unpack a .txz file on Windows
Use the 7zip tool to unpack a .txz file on windows

On Linux:
You can use the bzip2 and tar combined to do this…
for ex: bzip2 –cd <tar.bz_fileName> | tar –xvf -
This will unpack the contents of the tar.bz file

Happy Un-Tar-ing Smile

Comments

Anonymous said…
Is there a way that I can automate this and have the tartool go through tar archives one after the other instead of manually running the tar tool for every tar archive i have through powershell. If you can let me know or anyone else that would be greatly appreciated.
Anonymous said…
Good Post! Thank you so much for sharing this pretty post, it was so good to read and useful to improve my knowledge as updated one, keep blogging.
full stack developer training in annanagar

full stack developer training in tambaram

full stack developer training in velachery

Mounika said…
I’ve desired to post about something similar to this on one of my blogs and this has given me an idea. Cool Mat.
python training institute in chennai
python training in Bangalore
python training institute in chennai
Unknown said…
This blog is the general information for the feature. You got a good work for these blog.We have a developing our creative content of this mind.Thank you for this blog. This for very interesting and useful.
Blueprism training in Chennai

Blueprism training in Bangalore
Unknown said…
I read this post two times, I like it so much, please try to keep posting & Let me introduce other material that may be good for our community.

Data Science training in Chennai
Data science training in bangalore
Data science online training
Data science training in pune
Unknown said…
Thank you for taking the time to provide us with your valuable information. We strive to provide our candidates with excellent care and we take your comments to heart.As always, we appreciate your confidence and trust in us
java training in chennai

java training in marathahalli | java training in btm layout
Anonymous said…
This looks absolutely perfect. All these tiny details are made with lot of background knowledge. I like it a lot. 

angularjs-Training in velachery

angularjs Training in bangalore

angularjs Training in bangalore

angularjs Training in btm

angularjs Training in electronic-city
haripriya said…
Good Post, I am a big believer in posting comments on sites to let the blog writers know that they ve added something advantageous to the world wide web.
Microsoft Azure online training
Selenium online training
Java online training
Java Script online training
Share Point online training
sasitamil said…
I am sure this post has helped me save many hours of browsing other related posts just to find what I was looking for. Many thanks!

devops online training

aws online training

data science with python online training

data science online training

rpa online training
Priyanka said…
Attend The Python training in bangalore From ExcelR. Practical Python training in bangalore Sessions With Assured Placement Support From Experienced Faculty. ExcelR Offers The Python training in bangalore.
python training in bangalore
Unknown said…
I am really thankful for posting such useful information. It really made me understand lot of important concepts in the topic. Keep up the good work!
Oracle Training in Chennai | Oracle Course in Chennai
Thanks a lot very much for the high quality and results-oriented help. I won’t think twice to endorse your blog post to anybody who wants and needs support about this area.
Best PHP Training Institute in Chennai|PHP Course in chennai

Best .Net Training Institute in Chennai
Software Testing Training in Chennai
Blue Prism Training in Chennai
Angularjs Training in Chennai
subha said…
I really have to search sites with relevant information on given topic and provide them to teacher our opinion and the article.thanks a lot,
Ai & Artificial Intelligence Course in Chennai
PHP Training in Chennai
Ethical Hacking Course in Chennai Blue Prism Training in Chennai
UiPath Training in Chennai
This is a wonderful article, Given so much info in it, These type of articles keeps the users interest in the website, and keep on sharing more ... good luck.

Data Science Institute in Bangalore
Hello, I have browsed most of your posts. This post is probably where I got the most useful information for my research. Thanks for posting, we can see more on this. Are you aware of any other websites on this subject.

Data Science Course
I am impressed by the information that you have on this blog. It shows how well you understand this subject.

Data Science Training
Rashika said…
This comment has been removed by the author.
aarthi said…
Hello there! I simply wish to give you a huge thumbs up for your excellent information you have right here on this post.
I'll be coming back to your web site for more soon.
Java training in Chennai

Java training in Bangalore

Java training in Hyderabad

Java Training in Coimbatore

Java Online Training
devi said…
Excellent blog with lots of information, keep sharing. I am waiting for your more posts like this or related to any other informative topic.Amazing web journal I visit this blog it's extremely marvelous. Interestingly, in this blog content composed plainly and reasonable. The substance of data is educationalData Science Training In Chennai

Data Science Online Training In Chennai

Data Science Training In Bangalore

Data Science Training In Hyderabad

Data Science Training In Coimbatore

Data Science Training

Data Science Online Training
Amazing post found to be very impressive while going through this post. Thanks for sharing and keep posting such an informative content.

360DigiTMG Python Course
deiva said…
I read this post two times, I like it so much, please try to keep posting & Let me introduce other material that may be good for our community.

java training in chennai

java training in omr

aws training in chennai

aws training in omr

python training in chennai

python training in omr

selenium training in chennai

selenium training in omr


borav said…
Right on target with this review, I really accept that this astonishing site needs substantially more consideration. I'll presumably be getting back to peruse more, a debt of gratitude is in order for the data!
live
Glad to chat your blog, I seem to be forward to more reliable articles and I think we all wish to thank so many good articles, blog to share with us.
data scientist training and placement
This is a wonderful article, Given so much info in it, These type of articles keeps the users interest in the website, and keep on sharing more ... good luck.

DevOps Training in Hyderabad
Reshma said…

Wonderful post and more informative!keep sharing Like this!
Importance of Tally Software
Why Business needs Tally Software
ppc fame said…
This Digital Marketing Course in Mohali transforms you into a complete Digital Marketer with expertise in modules like SEO, Social Media Marketing, PPC, Analytics, Content, Mobile, and Email marketing.
We provide the Best training for Social Media Marketing and PPC course in Mohali and have trained over 10k students.
Become industry-ready learning the latest tools, working on real-world projects, and attending Master classes from the Google and Facebook certified Team.
Digital Marketing Course in Chandigarh
Bangaloredigitalmarketing provides the best Digital Marketing courses in bangalore with certification
and placements in jayanagar, marathahalli
https://bangaloredigitalmarketing.com/
https://bangaloredigitalmarketing.com/digital-marketing-courses-in-bangalore/
https://bengalurudigitalmarketing.blogspot.com/
Unknown said…
very interesting post.this is my first time visit here.i found so many interesting stuff in your blog especially its discussion..thanks for the post! data science training in noida
Maneesha said…
Thanks a lot for one’s intriguing write-up. It’s actually exceptional. Searching ahead for this sort of revisions.
data analytics courses in hyderabad with placements
Reshma said…
This post is so interactive and informative.keep update more information...
Types of Oracle Database Users
Different Types of Oracle Database Users
Unknown said…
I think I have never seen such blogs ever before that has complete things with all details which I want. So kindly update this ever for us. data science training in mysore
Reshma said…
Awesome blog. Thanks for sharing this blog. Keep update like this...
Android Classes in Hyderabad
Android Training in Gurgaon
David Fincher said…
This post is so interactive and informative.keep update more information...
Android Training in Velachery
Android Training in Chennai

360DigiTMG said…
In the wake of perusing your article, I was astounded. I realize that you clarify it well overall. What's more, I trust that different perusers will likewise encounter how I feel in the wake of perusing your article.
data scientist course in hyderabad
Pavithra Devi said…
This post is so interactive and informative.keep update more information...
Ethical Hacking Course in Tambaram
Ethical Hacking Course in Chennai
Matt Reeves said…
This post is so interactive and informative.keep update more information...
Artificial Intelligence Course in Tambaram
Artificial Intelligence Course in Chennai
Data Science said…

Amazingly by and large very interesting post. I was looking for such an information and thoroughly enjoyed examining this one.
Keep posting. An obligation of appreciation is all together for sharing.
data science course in gwalior
Well we really like to visit this site, many useful information we can get here.
full stack web development course in malaysia

Popular posts from this blog

wget error–“zsh: parse error near &”

There is no doubt that I prefer wget way over any other type of downloads… Syntax: wget <DOWNLOAD_URL>   If you get this error “ zsh: parse error near & ” then its probably because your download URL has a “&” so you should try giving your DOWNLOAD_URL in double quotes wget “<DOWNLOAD_URL>”   If you are trying to download from a site which needs you to give your credentials then you can try giving it this way wget --http-user=<UserName> --http-password=<Password> “<DOWNLOAD_URL>”   Hope this helps

Apache Commons StringUtils.isEmpty() vs Java String.isEmpty()

You might want to test for if a String is empty many a times. Before we jump onto the numerous solutions available let us take a look at how we define “Empty String”   The difference in the two methods given by Apache and Java are dependent on how we define an empty string. Java String.isEmpty returns a boolean true if the string’s length is zero. If the string has null it throws NullPointerException Apache StringUtils.isEmpty returns a boolean true if the string is either null or has length is zero   Thus its purely dependent on how you are defining “empty string” in your program which will decide which function to use…BTW if you want to skip using Apache Commons funciton and would want to stick to java then you can have your own function like this:   public static boolean isEmptyOrNull(String strStringToTest) {                  return strStringToTest == null || strStringToTest.trim().isEmpty(); }