OK, that worked --with a minor modification, the root folder is not "Main", "Main" is just another catalog, but thanks.
I really like your software. However, I do think one should be able to exclude files by extension. As an end user, I HATE being forced to edit copy scripts by hand and resort to something like:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Class</key>
<string>Include</string>
<key>Description</key>
<string>Excludes Lightroom Previews.</string>
<key>Directives</key>
<array>
<dict>
<key>Directive</key>
<string>exclude</string>
<key>Item</key>
<string>*.lrdata</string>
</dict>
<dict>
<key>Directive</key>
<string>exclude</string>
<key>Item</key>
<string>*/*.lrdata</string>
</dict>
<dict>
<key>Directive</key>
<string>exclude</string>
<key>Item</key>
<string>*/*/*.lrdata</string>
</dict>
<dict>
<key>Directive</key>
<string>exclude</string>
<key>Item</key>
<string>*/*/*/*.lrdata</string>
</dict>
<dict>
<key>Directive</key>
<string>exclude</string>
<key>Item</key>
<string>*/*/*/*/*.lrdata</string>
</dict>
<dict>
<key>Directive</key>
<string>exclude</string>
<key>Item</key>
<string>*/*/*/*/*/*.lrdata</string>
</dict>
<dict>
<key>Directive</key>
<string>exclude</string>
<key>Item</key>
<string>*/*/*/*/*/*/*.lrdata</string>
</dict>
<dict>
<key>Directive</key>
<string>exclude</string>
<key>Item</key>
<string>*/*/*/*/*/*/*/*.lrdata</string>
</dict>
</array>
<key>Include Directives</key>
<array/>
</dict>
</plist>
I had to do it by hand because the command panel and its filesystem browser are really impractical when you need to use wildcards.
Moreover, if I try to save this script as a separate "Exclude LR Previews" and then include this script in my main backup script, SD hangs indefinitely on the "Copy Files" phase, with all counters remaining on "0". If I just use the path you suggested, everything works.
OK, that's it. Sorry for the rant and congratulations for a great piece of software.