Thoughts:
A) You don't need the dash when invoking tar:
tar zcvf test.tar.gz /home/me/dir1
is sufficient. I don't think that the dash will do any harm, but try without, and see if that makes a difference; it might be affecting the z option, which does the compression. I can't replicate the problem even when I do use the dash.
B) Try 'file test.tar.gz'. If you get
Code:
> file test.tar.gz
test.tar.gz: gzip compressed data, from Unix
Then you know that the file is in fact tarred and gzipped.
C) If you want to bring out the hammer and tongs, you might try
Code:
tar cvf - /home/me/dir1 | gzip -9c > test.tar.gz
D) I believe that gzip does not compress when the file size of the compressed file is equal to or greater than the original file. This usually only happens on files which have already been compressed, and would be very unusual on uncompressed text files (typical compression on text files is around %90)
E) What happens when you use "tar Zcvf test.tar.bz2 /home/me/dir1" ?