buxtonicer1
Programmer
Here is the situation. I have a directory called 848u and I want to zip it up. It has lots of subdirectories. But I want to zip it up but exclude a couple of subdirectories called 'data' (and everything in data) and DNYPS (everything in DNYPS) . I've tried the following below but not look so far. Any ideas ?
zip -r 848u 848u/* -x 848u/data/\* 848u/appserv/DNYPS\*
zip -r 848u 848u/* -x 848u/data/\* 848u/appserv/DNYPS\*