News for hackers. Stuff that matters.
Re:Why is it so difficult to write valid “tar” commands from... by belovedeagle on Wednesday March 25, 2015 @11:21AM (#9263508)
A significant improvement is to instead use

tar -c files | gzip > ../foo.tgz

No messing around with flags, just a single one saying that you want to create an archive rather than extract one. No messing around with filename parameters—that's what the shell is there for.

There are no comments on this comment yet.