I am making a zip of a directory.
I used this command to exclude a certain folder
zip -r myzip.zip /home/test -x share/\*
When I used this command it still scans through that folder. It has numerous subfolders so I don't want it to waste time scanning through everything even though I excluded it. It also throws a lot of zip warning: name not matched because it has numerous symbolic links.
Is there a way to zip without scanning through everything each time?