Compress files and directories using ZIP

the “-r” option means recursive and adds all files in the named directory

Zip only certain files, recursively

The command above saved all .doc files in the current directory as well as the subdirectories into
The directory structure of files added is preserved.

zip Parameters


2. man zip

About Gugulethu Ncube

IT enthusiast getting things done.