Hacker News new | ask | show | jobs
by archinal 3935 days ago
Don't you need the z flag as well since filename is gzipped?
1 comments

Not anymore! GNU tar now figures it out automagically :)
BSD tar also has this functionality. "tar -xf <filename>" works for archives compressed with gzip, bzip2, or xz.