5 ms·
Fun fact: "tar xf FILENAME" will auto-detect the compression when extracting FILENAME. You don't actually need to specify "z" for gzip, "j" for bzip, etc.
by jaysh 11y ago
Fun fact: "tar xf FILENAME" will auto-detect the compression when extracting FILENAME. You don't actually need to specify "z" for gzip, "j" for bzip, etc.
- antientropic 11y agoThat's GNU tar specific, though.
- craftkiller 11y agoWorks in modern bsdtar also, and as of a couple years ago they also added support for the "-a" flag to do the same thing when compressing.