As with many things in the *nix world, there is more than one way to generate
Typically, I use the following:
tar zcf /path/to/dir.tar.gz /path/to/dir
However, I have seen the following as well:
tar cf - <files|directories> | gzip -fq9 >/path/to/output.tar.gz
Is there a difference between the two?
If so, what is that difference, and does it "matter", or is it merely cosmetic?