PDA

View Full Version : Problems Ignoring Directories


nanovivid
12-22-2004, 08:17 PM
I'm trying to get SuperDuper to exclude certain directories from the backup but it appears that it's still copying them because as it's showing the progress, these directores (which have a lot of stuff in them) are showing as copying for a long time.

Here's the source of the copy script:


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Class</key>
<string>Composite</string>
<key>Description</key>
<string></string>
<key>Directives</key>
<array>
<dict>
<key>Directive</key>
<string>exclude</string>
<key>Item</key>
<string>Users/Bryan/BitTorrent/*</string>
</dict>
<dict>
<key>Directive</key>
<string>exclude</string>
<key>Item</key>
<string>Users/Bryan/Xfactor/*</string>
</dict>
</array>
<key>Include Directives</key>
<array>
<string>Backup - all files.dset</string>
</array>
</dict>
</plist>


What am I doing wrong?

dnanian
12-22-2004, 08:22 PM
It doesn't look like you're doing anything wrong, "nanovivid" (though you'll still copy 'hidden' files that start with "." -- if you want to skip those too, either leave off the final "/*" or add an additional command that also excludes "/.*" in the same folder(s).

SuperDuper! actually has to look at all the files on a drive, regardless of the copy script (which tells it which of those files to select). So, if you see it spending time in a given folder, it's not necessarily copying (and, in your case, I'm pretty sure it is not -- except as indicated above) -- it's just looking at each file to see if it needs to.

nanovivid
12-22-2004, 08:39 PM
Thanks for the quick reply! I'll give it a shot and let you know.

dnanian
12-22-2004, 09:11 PM
OK -- I'll look forward to your response.

nanovivid
12-22-2004, 11:30 PM
Yes, it works. Maybe it should be mentioned in the documentation somewhere that SD will still look like it might be copying ignored folders, because it is kind of confusing.

Thanks for your help! SuperDuper is a great program. :)

dnanian
12-23-2004, 09:04 AM
Great, glad it worked. We are reworking the status display for the next major release, so I think you'll see some changes there...