Y
Hacker News
new
|
ask
|
show
|
jobs
by
jaysh
3963 days 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.
1 comments
antientropic
3963 days ago
That's GNU tar specific, though.
link
craftkiller
3963 days 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.
link