PDA

View Full Version : Gzipping without replacing original



Aleksandersen
December 8th, 2007, 04:23 PM
This command compresses all files in a directory and it's subdirectory and replaces them by compressed files.

$ gzip --recursive --best ./*

But how to make gzip compress the files but leave the original files alone? (Not replacing.)