Gzip

Uit De Vliegende Brigade
Naar navigatie springen Naar zoeken springen

Use

$ gzip filename

to archive a file. By default, gzip deletes the original file after creating the archive file.

Use

$ gzip -k filename

to keep the original file.

To archive directories with their content:

$ gzip -r directoryname

And I presume that in order to keep the original files, you would use

$ gzip -kr directoryname