this post was submitted on 12 Mar 2024
759 points (99.0% liked)
Programmer Humor
32332 readers
151 users here now
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.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
A little trick I learned on here was to imagine yourself as a little evil man saying "Extract ze files!" in a German accent. Extract ze files >>> xzf.
That sounds a lot like Czech, "ze" means "from" if you translate it into English
Looks, not sounds. Ahoj!
I still use that. 😅
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.
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.xaf
(extract a file) auto-detects the format.Extract Any File
Extract All Files
The post only calls for "a valid tar command", not that it has to work for any specific circumstance.