How can I avoid syncing custom directory icons?

Custom directory icons can be set in the Finder by opening the Info panel (from the main menu View > Get Info, or by pressing Command-I) and dragging an image onto the icon on the top left of the Info panel. A custom icon can be removed again by clicking it in the Info panel and pressing the Delete key.

A custom directory icon is saved inside the directory itself as a hidden file named “Icon\r”, where “\r” stands for the carriage return character and is displayed in the Finder as a “?” character.

Tip: you can toggle the display of hidden files in the Finder with the keyboard shortcut Command-Shift-.

Even if custom file icons are hidden in the Finder, excluding hidden files in SyncTime will not exclude custom directory icons from a sync. To exclude custom directory icons, add a Filename filter with Mode set to Regular expression and Value set to “Icon\r”.