How to gzip without deleting the original file?

View: New views
1 Messages — Rating Filter:   Alert me  

How to gzip without deleting the original file?

by Peng Yu :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I know that I can use the following command?

gzip -c file > file.gz

But when the name of the file is too long, the above command becomes
inconvenient. I am wondering if there is a better way use gzip without
deleting the original file.

Regards,
Peng