this post was submitted on 15 May 2024
876 points (98.5% liked)

linuxmemes

20751 readers
1107 users here now

I use Arch btw


Sister communities:

Community rules

  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

founded 1 year ago
MODERATORS
 

Was trying to extract a totally legit copy of Skate 3 I downloaded today to play on my Steam Deck

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 9 points 4 months ago (1 children)

I know tar zxf and xjf off by heart. I probably do 100x as many extracts as creates. Tar is a stupidly antiquated command though.

[–] [email protected] 6 points 4 months ago* (last edited 4 months ago) (1 children)

Why remember/include the algorithm? Tar can infer that. It's just bsdtar xf filename.* for everything. (bsdtar handles .zip as well)

[–] [email protected] 2 points 4 months ago (1 children)
[–] [email protected] 1 points 4 months ago* (last edited 4 months ago)

Yes, and tar works the same, it just doesn't handle zip files.

And even if we're pedantic: bsdtar is Arch Linux’ executable name for a port of the tar command that is shipped by BSDs, so it's also tar.