Does somebody have a configurable rsync script to upload the files, directories while filtering out some directories and their sub-directories?

My task changes a lot of files, relocates them, and hence, I need to synchronize by selectively deleting files on the server.

Thanks.