I have a directory that contains a number of files and subdirectories. See below:
baseDir bad1 bad2 subDir1 file1 subDir2 file1
I would like to rsync the contents of baseDir without rsyncing bad1 and bad2.
targetDir SubDir1 file1 SubDir2 file1
I don't care if it takes two commands but how do I do it?