@0x4E4F@sh.itjust.works to linuxmemes@lemmy.worldEnglish • edit-211 months agoOne of the few times I've downvotedsh.itjust.worksimagemessage-square53fedilinkarrow-up1117
arrow-up1117imageOne of the few times I've downvotedsh.itjust.works@0x4E4F@sh.itjust.works to linuxmemes@lemmy.worldEnglish • edit-211 months agomessage-square53fedilink
minus-squarejanAkalilinkEnglish7•11 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 BelchlinkfedilinkEnglish6•11 months agoUsually the distro has tar in automatic and automatically detects which compression flag to use so tar xf ... usually just works
minus-square@chellomere@lemmy.worldlinkfedilink2•11 months agoYeah it’s many years that I haven’t had to specify z, j etc.
minus-square@mumblerfish@lemmy.worldlinkfedilink5•11 months agoNever encountered a bz2 tar? Then the flag is j.
minus-squarexigoilinkfedilink3•11 months agoJust use tar xaf to auto-detect the format. (Mnemonic: “extract a file”)
minus-square@mexicancartel@lemmy.dbzer0.comlinkfedilinkEnglish6•11 months ago-xf is all you need Also most file managers handle it easily
deleted by creator
Xctract zee file
xzf
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”)-xf is all you need
Also most file managers handle it easily
eXtract Zi Files - xzf