0x4E4F@sh.itjust.works to linuxmemes@lemmy.worldEnglish · edit-22 年前One of the few times I've downvotedsh.itjust.worksimagemessage-square53fedilinkarrow-up1117
arrow-up1117imageOne of the few times I've downvotedsh.itjust.works0x4E4F@sh.itjust.works to linuxmemes@lemmy.worldEnglish · edit-22 年前message-square53fedilink
minus-squarejanAkalilinkfedilinkEnglisharrow-up7·2 年前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.
minus-squareProgrammer Belch@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up6·2 年前Usually the distro has tar in automatic and automatically detects which compression flag to use so tar xf ... usually just works
minus-squarechellomere@lemmy.worldlinkfedilinkarrow-up2·2 年前Yeah it’s many years that I haven’t had to specify z, j etc.
minus-squaremumblerfish@lemmy.worldlinkfedilinkarrow-up5·2 年前Never encountered a bz2 tar? Then the flag is j.
minus-squarexigoi@lemmy.sdf.orglinkfedilinkarrow-up3·2 年前Just 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 xafto auto-detect the format. (Mnemonic: “extract a file”)