rsync - exclude a directory but include specific file(s) within that directory
by JavaMeister from LinuxQuestions.org on (#58DVM)
I want to exclude a directory but/and include a specific file within that directory. Said another way, I want to exclude all the files in a specific directory but/and include (a) specific file(s) in that same directory. I would prefer to do this using exclude-from=exclude.txt and include-from=include.txt. Is this possible? What is the format of the command?

