0x4E4F@sh.itjust.works to linuxmemes@lemmy.worldEnglish · edit-28 months agoOne of the few times I've downvotedsh.itjust.worksimagemessage-square51fedilinkarrow-up1108arrow-down166
arrow-up142arrow-down1imageOne of the few times I've downvotedsh.itjust.works0x4E4F@sh.itjust.works to linuxmemes@lemmy.worldEnglish · edit-28 months agomessage-square51fedilink
minus-squaremexicancartel@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up6·8 months ago-xf is all you need Also most file managers handle it easily
minus-squarejanAkali@lemmy.onelinkfedilinkEnglisharrow-up7arrow-down4·8 months 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 Belch@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up6·8 months agoUsually 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·8 months agoYeah it’s many years that I haven’t had to specify z, j etc.
minus-squaremumblerfish@lemmy.worldlinkfedilinkarrow-up5·8 months agoNever encountered a bz2 tar? Then the flag is j.
minus-squarexigoi@lemmy.sdf.orglinkfedilinkarrow-up3·8 months agoJust use tar xaf to auto-detect the format. (Mnemonic: “extract a file”)
minus-square0x4E4F@sh.itjust.worksOPlinkfedilinkEnglisharrow-up3arrow-down3·8 months agoeXtract Zi Files - xzf
deleted by creator
Xctract zee file
xzf
-xf is all you need
Also most file managers handle it easily
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”)eXtract Zi Files - xzf