@[email protected] to linuxmemesEnglish • edit-21 year agoOne of the few times I've downvotedsh.itjust.worksimagemessage-square52fedilinkarrow-up1109arrow-down172
arrow-up137arrow-down1imageOne of the few times I've downvotedsh.itjust.works@[email protected] to linuxmemesEnglish • edit-21 year agomessage-square52fedilink
minus-squarejanAkalilinkfedilinkEnglish3•1 year agoI don’t understand. How is it hard to remember: “eXtract File” = “tar xf …”? If tar is gZipped - it’s “tar xzf …”. I don’t think I’ve ever seen tarball that wouldn’t work with one of these two commands.
minus-squareProgrammer BelchlinkfedilinkEnglish6•1 year agoUsually the distro has tar in automatic and automatically detects which compression flag to use so tar xf ... usually just works
minus-squarexigoilinkfedilink3•1 year agoJust use tar xaf to auto-detect the format. (Mnemonic: “extract a file”)
I don’t understand.
How is it hard to remember: “eXtract File” = “tar xf …”? If tar is gZipped - it’s “tar xzf …”.
I don’t think I’ve ever seen tarball that wouldn’t work with one of these two commands.
Usually the distro has tar in automatic and automatically detects which compression flag to use so
tar xf ...
usually just worksYeah it’s many years that I haven’t had to specify z, j etc.
Never encountered a bz2 tar? Then the flag is
j
.Just use
tar xaf
to auto-detect the format. (Mnemonic: “extract a file”)