How to excluding directories when zip files on Linux

All you needs is use the -x switch and list the files and directories to be excluded, separated by spaces. For example:

zip -r directory -x directory/folderA\* directoryr/folderB\* 
Share this Post:
Digg Google Bookmarks reddit Mixx StumbleUpon Technorati Yahoo! Buzz DesignFloat Delicious BlinkList Furl

Comments are closed.