Finally, for the times you need to create a folder in the zip folder format,
then you can use zip
, which puts things in the .zip
format.
$ zip zipfoldername.zip file1 file2 file3
To zip a directory, use the -r
flag.
$ zip -r zipfoldername.zip dir
To unzip the folder, use
$ unzip zipfoldername.zip