Welcome to DU!
The truly grassroots left-of-center political community where regular people, not algorithms, drive the discussions and set the standards.
Join the community:
Create a free account
Support DU (and get rid of ads!):
Become a Star Member
Latest Breaking News
Editorials & Other Articles
General Discussion
The DU Lounge
All Forums
Issue Forums
Culture Forums
Alliance Forums
Region Forums
Support Forums
Help & Search
tar (xkcd)
------
just too too true. finally after years i could probably do it.. only for tar.gz and only because of archlinux pkgbuild
$ tar xfvz <filename.tar.gz>
InfoView thread info, including edit history
TrashPut this thread in your Trash Can (My DU » Trash Can)
BookmarkAdd this thread to your Bookmarks (My DU » Bookmarks)
5 replies, 2360 views
ShareGet links to this post and/or share on social media
AlertAlert this post for a rule violation
PowersThere are no powers you can use on this post
EditCannot edit other people's posts
ReplyReply to this post
EditCannot edit other people's posts
Rec (2)
ReplyReply to this post
5 replies
= new reply since forum marked as read
Highlight:
NoneDon't highlight anything
5 newestHighlight 5 most recent replies
tar (xkcd) (Original Post)
Phillip McCleod
Feb 2013
OP
Recursion
(56,582 posts)1. Why add the compression switches?
tar is smart enough to do that itself.
tar cf something.tar /some/path
Or
tar xf something.tar -C /some/path
Phillip McCleod
(1,837 posts)2. i did not know that
just tried it and it worked as advertised.
thanks! added up just imagine how many keystrokes ditching the compression switches will save me over the rest of my life! you'd've saved the day for sure.
hootinholler
(26,449 posts)3. tar -tvf tarballname
Not a problem
Phillip McCleod
(1,837 posts)4. thank tux for you!
good to know in case i ever come across that situation. says 'no google' but it doesn't say 'no DU'.
X_Digger
(18,585 posts)5. I'm with you.. xzvf is my 'go to' set of switches. n/t