cm0002@lemmy.world to Programmer Humor@programming.dev · 3 days agoLinux Userslemmy.mlimagemessage-square141linkfedilinkarrow-up11.2Karrow-down122
arrow-up11.18Karrow-down1imageLinux Userslemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 3 days agomessage-square141linkfedilink
minus-squaresalacious_coaster@infosec.publinkfedilinkEnglisharrow-up13·3 days agoRelevant xkcd: https://xkcd.com/1168/
minus-squarepsud@aussie.zonelinkfedilinkEnglisharrow-up1·edit-28 hours agotar -jcvf archive.tbz ~/stuff/* Of course I don’t know the bomb had bzip2 on it… I wonder if we can start with ls to see if there’s anything to tar or untar
minus-squaredrkt@scribe.disroot.orglinkfedilinkarrow-up9·3 days agotar -xvf <archive-name> but only because I had to look it up twice so now my brain has committed it to memory I don’t even know what it does
minus-squarenutcase2690@lemmy.dbzer0.comlinkfedilinkarrow-up4·3 days agoi just use unar (unarchive) nowadays, since that works with all file formats iirc
minus-squarebitchkat@lemmy.worldlinkfedilinkEnglisharrow-up3arrow-down1·3 days agoExtract a tarball with verbose output from the specified file. And learn how to use the ‘z’ option
minus-squarejbrains@sh.itjust.workslinkfedilinkarrow-up1·3 days agoYou don’t even need the hyphen! Mind = blown.
minus-squareIsoKiero@sopuli.xyzlinkfedilinkEnglisharrow-up13·3 days agoUnfortunately that’s not valid. $ tar -h tar: You must specify one of the '-Acdtrux', '--delete' or '--test-label' options Try 'tar --help' or 'tar --usage' for more information. From man-page: -h, --dereference follow symlinks; archive and dump the files they point to
Relevant xkcd: https://xkcd.com/1168/
tar -jcvf archive.tbz ~/stuff/*
Of course I don’t know the bomb had bzip2 on it… I wonder if we can start with ls to see if there’s anything to tar or untar
tar --help
tar -xvf <archive-name>
but only because I had to look it up twice so now my brain has committed it to memory
I don’t even know what it does
i just use unar (unarchive) nowadays, since that works with all file formats iirc
Extract a tarball with verbose output from the specified file.
And learn how to use the ‘z’ option
You don’t even need the hyphen!
Mind = blown.
tar - h
Unfortunately that’s not valid.
$ tar -h tar: You must specify one of the '-Acdtrux', '--delete' or '--test-label' options Try 'tar --help' or 'tar --usage' for more information.
From man-page:
-h, --dereference follow symlinks; archive and dump the files they point to
Damn.
Thanks, we all died.
:)