Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
jaysh
· 11y ago · 0 comments
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.
Comments
[–]
antientropic
11y ago
That's GNU tar specific, though.
[–]
craftkiller
11y ago
Works 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.