LainTrain@lemmy.dbzer0.com to linuxmemes@lemmy.worldEnglish · 8 months agoOld XKCD, still relevantlemmy.dbzer0.comexternal-linkmessage-square152fedilinkarrow-up1858arrow-down113file-text
arrow-up1845arrow-down1external-linkOld XKCD, still relevantlemmy.dbzer0.comLainTrain@lemmy.dbzer0.com to linuxmemes@lemmy.worldEnglish · 8 months agomessage-square152fedilinkfile-text
minus-squareflying_sheeplinkfedilinkarrow-up6·edit-27 months agoWhy remember/include the algorithm? Tar can infer that. It’s just bsdtar xf filename.* for everything. (bsdtar handles .zip as well)
minus-squareflying_sheeplinkfedilinkarrow-up1·edit-27 months agoYes, and tar works the same, it just doesn’t handle zip files. And even if we’re pedantic: bsdtar is Arch Linux’ executable name for a port of the tar command that is shipped by BSDs, so it’s also tar.
Why remember/include the algorithm? Tar can infer that. It’s just
bsdtar xf filename.*
for everything. (bsdtar handles .zip as well)The bomb said tar.
Yes, and tar works the same, it just doesn’t handle zip files.
And even if we’re pedantic: bsdtar is Arch Linux’ executable name for a port of the
tar
command that is shipped by BSDs, so it’s alsotar
.