this post was submitted on 06 Jan 2024
37 points (60.3% liked)
linuxmemes
20880 readers
12 users here now
I use Arch btw
Sister communities:
- LemmyMemes: Memes
- LemmyShitpost: Anything and everything goes.
- RISA: Star Trek memes and shitposts
Community rules
- Follow the site-wide rules and code of conduct
- Be civil
- Post Linux-related content
- No recent reposts
Please report posts and comments that break these rules!
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Xctract zee file
xzf
-xf is all you need
Also most file managers handle it easily
I don't understand.
How is it hard to remember: "eXtract File" = "tar xf ..."? If tar is gZipped - it's "tar xzf ...".
I don't think I've ever seen tarball that wouldn't work with one of these two commands.
Usually the distro has tar in automatic and automatically detects which compression flag to use so
tar xf ...
usually just worksYeah it's many years that I haven't had to specify z, j etc.
Never encountered a bz2 tar? Then the flag is
j
.Just use
tar xaf
to auto-detect the format. (Mnemonic: “extract a file”)eXtract Zi Files - xzf