this post was submitted on 28 Nov 2025
24 points (96.2% liked)
Linux Questions
2896 readers
21 users here now
Linux questions Rules (in addition of the Lemmy.zip rules)
- stay on topic
- be nice (no name calling)
- do not post long blocks of text such as logs
- do not delete your posts
- only post questions (no information posts)
Tips for giving and receiving help
- be as clear and specific
- say thank you if a solution works
- verify your solutions before posting them as facts.
Any rule violations will result in disciplinary actions
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Hey, you can add to a tarball without extracting it! Maybe that's what you're actually asking?
Anyway, in case it wasn't, here's a bit more answer:
A .tar.gz is a file that used to be .tar and was then compressed by gzip.
A .gz.tar is a file that used to be .gz and was was made into a tarball.
I cannot really imagine why someone would want to turn a .gz file into a tarball. Kind of in order to save it on an actual tape drive, maybe? But then it wouldn't be a tarball. It would be just ones and zeroes physically saved on a tape.
You can save .tar.gz files to actual tapes. As you said, it's just one and zeros.
Of course, and that is done very often. But why would you want to save a .gz.tar file on a tape?