3 ms·
Long ago someone taught me this memory trick for tar: imagine an angry German stereotype saying “eXtract Ze Vucking File”, thus -xzvf. No idea what it stands fo
by doteka 5y ago
Long ago someone taught me this memory trick for tar: imagine an angry German stereotype saying “eXtract Ze Vucking File”, thus -xzvf. No idea what it stands for but it does what I need most of the time.
- timbit42 5y agox = 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.
- mvkg 5y agoIn recent versions of (maybe only GNU?) `tar` you can leave off the `z` flag and it will still decompress based on the filename.
- PenguinCoder 5y agoOr just replace the z with an a. That's what I mainly use.