@snonux My understanding and my explanation for the situation you described is that GNU Tar doesn't look at the filename suffix, but at its content. So when you uncompress it knows what kind of file you have (because it exists), but when you compress it doesn't (because all it has is a name, which could be anything). You could just create a gzipped tar with any name, like even `iosevka-iaso.txt` if you wanted, and Tar would know how to uncompress it without caring about the name.
Conversation
Notices
-
Embed this notice
Cosmin (cosmin@social.linux.pizza)'s status on Saturday, 28-Dec-2024 22:10:57 JST Cosmin
-
Embed this notice
Paul Buetow (snonux@fosstodon.org)'s status on Saturday, 28-Dec-2024 22:10:58 JST Paul Buetow
It's the small things, which make Unix like systems, like GNU/Linux, interesting. Didn't know about this #GNU #Tar behaviour yet: https://xeiaso.net/notes/2024/pop-quiz-tar/
-
Embed this notice