How do I make a .zip file that contains every file AND every folder in the directory?
feedback
|
migrated from stackoverflow.com Nov 23 '10 at 23:43
This question came from our site for professional and enthusiast programmers.
|
Use the -r The name of the zip file comes first. "Recursively" means that the zip file will include subfolders of the given folder, the subfolders of those folders, and so on. | |||
|
feedback
|
|
Try:
Note - this will go recursively, i.e. it will zip all folders and all subfolders of the given folder. | |||
|
feedback
|
|
If you are bound to a zip, I'd use: zip -r zipfilename directoryPath The -r is the key, but you can find all the options here: | |||
|
feedback
|
