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.”

ɐɥO
link
fedilink
488M

I remember those 2 and thats all I need.
tar -extrakt ze file
tar -compress ze file

Nope - it was Unix not Linux. The minus makes the command invalid on many Unix versions of tar (though most modern BSD versions allow it)

ɐɥO
link
fedilink
58M

Gonna blow up then I guess

Tar Xtract Ze Vucking File

Edit: apparently someone else already mentioned this, oops

tar -extract -file

tar -compress -xz -file

tar -extract -any -file is easier, auto detect the compression based on filename.

exu
link
fedilink
English
78M

I think GNU tar automatically detects the compression, making -a unnecessary in that case.

And -z. tar -xf foo.tar.{gz,xz,zstd,...} will work perfectly fine.

Create a post

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

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 144 users / day
  • 303 users / week
  • 694 users / month
  • 2.83K users / 6 months
  • 1 subscriber
  • 1.56K Posts
  • 34.7K Comments
  • Modlog