cm0002@lemmy.world to Programmer Humor@programming.dev · 4 days agoLinux Userslemmy.mlimagemessage-square150linkfedilinkarrow-up11.3Karrow-down125cross-posted to: [email protected]
arrow-up11.27Karrow-down1imageLinux Userslemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 4 days agomessage-square150linkfedilinkcross-posted to: [email protected]
minus-squaresalacious_coaster@infosec.publinkfedilinkEnglisharrow-up13·4 days agoRelevant xkcd: https://xkcd.com/1168/
minus-squarepsud@aussie.zonelinkfedilinkEnglisharrow-up1·edit-21 day 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·4 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·4 days agoi just use unar (unarchive) nowadays, since that works with all file formats iirc
minus-squarebitchkat@lemmy.worldlinkfedilinkEnglisharrow-up3arrow-down1·4 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·4 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.
:)