View Single Post
  #1  
Old 12-24-2004, 02:42 PM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,923
Send a message via AIM to dnanian
My copy script says SuperDuper! should ignore a folder, but it's copied. Why?

A common mistake when writing a copy script is to choose a folder starting from /Volumes -- if this is done, the folder will be copied regardless.

The reason this doesn't work is that SuperDuper! always prepends the drive name to the front of the file specification before evaluating it (if it didn't, you wouldn't be able to choose a source and destination volume in the pop-ups!). Therefore, the "path" specified always starts at the "root" ("/") of the drive: your specification is appended to that.

To fix your script, simply delete both /Volumes and the drive name from in front of the file specification (double-click the entry in the table and you can edit it by hand). Make sure to delete the leading "/" as well.
__________________
--Dave Nanian
Reply With Quote