758

source

img title="I don't know what's worse--the fact that after 15 years of using tar I still can't keep the flags straight, or that after 15 years of technological advancement I'm still mucking with tar flags that were 15 years old when I started."

you are viewing a single comment's thread
view the rest of the comments
[-] Tb0n3@sh.itjust.works 25 points 9 months ago

Only works for tar.gz. Remember there's also tar.xz, tar.bz, tar.bz2 and half have their own extractor flag. FUN. It's usually J.

[-] Zagorath@aussie.zone 25 points 9 months ago

The post only calls for "a valid tar command", not that it has to work for any specific circumstance.

[-] xigoi@lemmy.sdf.org 13 points 9 months ago

xaf (extract a file) auto-detects the format.

[-] neidu2@feddit.nl 6 points 9 months ago
[-] nao@sh.itjust.works 2 points 9 months ago

Extract All Files

[-] Faresh@lemmy.ml 3 points 9 months ago

I don't remember the last time I had to worry about the compression. I simply run tar xf myfile.tar.whatever and it works every time.

this post was submitted on 12 Mar 2024
758 points (98.8% liked)

Programmer Humor

32706 readers
345 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS