Shirt Pocket Discussions

Shirt Pocket Discussions (http://www.shirt-pocket.com/forums/index.php)
-   Frequently Asked Questions (http://www.shirt-pocket.com/forums/forumdisplay.php?f=7)
-   -   My copy script says SuperDuper! should ignore a folder, but it's copied. Why? (http://www.shirt-pocket.com/forums/showthread.php?t=178)

dnanian 12-24-2004 03:42 PM

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.


All times are GMT -4. The time now is 03:41 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.