Linux – How to use GZip to create a .zip file

compressiongziplinux

Is it possible to use GZip to create a .zip file? I've been Googling and can't find anything that leads me to believe this is possible

Best Answer

You probably want to use zip and not gzip. This should do it:

zip -r newzip.zip /path/to/zip/stuff