It seems that when I try to compress a file using gzip (.gz), it copies original file to temp directory, compress the copied file in temp, and then move the compressed file from temp to original directory. This process uses so much system resource and also HDD read/write. How can I tell gzip to compress files in their own directory (just similar to 7zip)
P.S. I checked gzip application in windows ,too. It was the same.
EDIT: to be more clear, I'm using nautilus compress option and I want to set it to compress files in place by default.