Exclude file pattern from unzip command
I have a small problem caused by people creating zip files with .svn directories in them.
I have a small script that downloads a few files and unzips them into one of my svn dirs.
This is done once every day so I made a small bash script that handles this and added it to crontab.
The problem is that one of the zip files that the script downloads contains a .svn dir, this is a problem when it is unzipped into my svn dir.
I have tried using the unzip -x to exclude the .svn dir but I can't get the exclude to work at all.
Maybe someone can tell me how to unzip a file and exclude all dirs named .svn...
Thanks in advance...