With this question am asking "old rabbits" of Ubuntu resp. of Debian.
Am puzzled by the "newer" use of command tar - I know that 10 years ago it was possible to tar a file to 1/3 of size or even less ! simply by this :
tar -zcf filename.tgz filename.extension .
( important is point at end after space ! - this was compressing very strong.)
Now point has no effect any more - instead it has effect of compressing all given files in the current directory together to one bundle ?
Today I only can use tar like this :
tar -zcf filename.tgz filename.extension
( without space and without point ) - this way the file is only compressed slightly to 2/3 of size ?!
Am I doing something wrong - or has the old feature with tar-command been forgotten about this feature with point after space ?!
.
to mean the current directory.tar
an option for gzip compression level, you can set an environment variableGZIP=-9
or similar to forcetar
and friends to use higher than default (-6
) compression. If this was set in your environment this would explain (some) difference in output size.