I am using rsyncrypto to backup a few of my user directories. I want to exclude some subdirectories from the encryption. I read that the best way to do this is to pipe the output of find to rsyncrypto.
Here's a find command that excludes directories named tmp:
find ~/Documents -type d -not ( -name tmp -prune )
I have 6 or 7 such directories to exclude, is there simple way for me to enumerate all of them in my find command?