Hacker News new | ask | show | jobs
by timbit42 1668 days ago
x = extract, z = compress/decompress, v = verbose (list files added or extracted), f = filename follows.

You can leave off the 'z' if it's a tar without compression. If it's compressed, the extension is usually tgz, tar.Z, bz2, or something else other than tar.

You can leave off the 'v' if you don't want to see a list of which files are being added or extracted.

2 comments

In recent versions of (maybe only GNU?) `tar` you can leave off the `z` flag and it will still decompress based on the filename.
Or just replace the z with an a. That's what I mainly use.