I am trying to use gzip to compress a file, yet keep the original file without changing it to the *.gz file
Much like the -k switch with bzip2
is this possible with gzip?
Page 1 of 1
gzip keeping original file
#2
Posted 03 August 2005 - 02:35 AM
Coastie, on Aug 2 2005, 06:45 PM, said:
I am trying to use gzip to compress a file, yet keep the original file without changing it to the *.gz file
Much like the -k switch with bzip2
is this possible with gzip?
Much like the -k switch with bzip2
is this possible with gzip?
send the output to stdout and redirect it to your target gzip file.
gzip -c file > file.gz
Page 1 of 1

Sign In
Register
Help






MultiQuote