4 ms·
"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 a
by reedlaw 11y ago
"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.
- JoshTriplett 11y ago> 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.
- monksy 11y agoToday I learned. I've been doing zxvf for quite a while and I always got annoyed with bz2 files.