compression

zip

zip file1, etc. into archive.zip:

zip archive.zip file1 file2 file3

/bin/gzip

$ touch mytest
$ gzip -vc mytest > mytest-0.1.gz

The content of the .gz file ends up being 'mytest-0.1', i.e. the file name is changed. Why? The man page does not help.

I ended up doing:

tar -czvf mytest-0.1.tar.gz mytest

Syndicate content