How to exclude all directories with the name .sync?

–exclude=“.sync\\”