in reply to Re^2: creating .tar.gz file
in thread creating .tar.gz file

If your tar supports it, the you can make tar directly invoke gzip in one command, creating a .tar.gz file in one go, using the -z command line switch.