Gzip
Versie door Jeroen Strompf (overleg | bijdragen) op 31 okt 2022 om 15:03 (Nieuwe pagina aangemaakt met 'Use <pre> $ gzip filename </pre> to archive a file. By default, ''gzip'' deletes the original file after creating the archive file. Use <pre> $ gzip -k filename <...')
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