this post was submitted on 24 Sep 2025
1270 points (98.2% liked)

Programmer Humor

26570 readers
1763 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] salacious_coaster@infosec.pub 13 points 2 days ago (4 children)
[–] psud@aussie.zone 1 points 17 hours ago* (last edited 7 hours ago)

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

[–] drkt@scribe.disroot.org 9 points 2 days ago (3 children)

tar -xvf

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

[–] nutcase2690@lemmy.dbzer0.com 4 points 2 days ago

i just use unar (unarchive) nowadays, since that works with all file formats iirc

[–] bitchkat@lemmy.world 2 points 2 days ago

Extract a tarball with verbose output from the specified file.

And learn how to use the 'z' option

[–] jbrains@sh.itjust.works 1 points 2 days ago

You don't even need the hyphen!

Mind = blown.

[–] probable_possum@leminal.space 4 points 2 days ago (1 children)
[–] IsoKiero@sopuli.xyz 13 points 2 days ago* (last edited 2 days ago) (1 children)

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