Skip to content

Comment on Show HN: Extract it – Because nobody can remember tar commandsparent

Comments

"tar xvzf" is already a part of my muscle memory. Occasionally I need to change the "z" to a "j" for bzip2 archives. And the "x" becomes a "c" if I'm Creating an archive rather than eXtracting.

Also this site doesn't show the command for files with ".tgz" extensions.

tar xvzf" is already a part of my muscle memory. Occasionally I need to change the "z" to a "j" for bzip2 archives

With modern tar, just don't include the z at all. "tar -xf" knows how to extract various kinds of compressed tar files automatically.

Today I learned. I've been doing zxvf for quite a while and I always got annoyed with bz2 files.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.