Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Don't you need the z and j flags, respectively? The way you write it works for uncompressed tars.


Did you check? GNU tar will guess based on file suffix.


That's cool, although most of the time when I use tar, it's in a command line like

    curl http://example.com/foo.tar.gz | tar zxf -




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: