#1
|
|||
|
|||
Preflight script option?
Hello there
I've just begun using SD, and I'm wondering whether you're planning to add any kind of PreFlight scripting option to go with the 'Run Customization Script' option for *after* backup. I, for example, had a bash backup script that has these lines either side of the actual backup routine (worked in Panther, anyway): ditto -rsrc /Volumes/<$TargetVolume>/.VolumeIcon.icns /tmp ditto -rsrc /tmp/.VolumeIcon.icns /Volumes/<$TargetVolume> because all my volumes have customised icons, and cloning a volume overwrites the target icon with the source one - so if I could put some kind of script in PreFLight to backup my source icon before running the main backup, and then add the 'restore icon' line into the 'disable spotlight on target volume' script, for instance, that would be perfect. What d'you reckon? I hope the above makes sense. - yoxi |
#2
|
||||
|
||||
We are indeed. In v.2.0 we have pre- and post-copy shell scripts. There are also places to run code before and after a scheduled run.
__________________
--Dave Nanian |
#3
|
|||
|
|||
Coolio - v2: weeks? months? not saying?
- yoxi |
#4
|
||||
|
||||
Not saying, not because we don't want to say, but because these things take as long as they take, and it's pointless for me to give a date if it's not certain.
__________________
--Dave Nanian |
#5
|
|||
|
|||
Makes sense to me, just wondered. In the meantime there's the redoubtable Finder Icon CMM to get me through the dark before the dawn...
- yoxi |
#6
|
||||
|
||||
Actually, there's an easier way. I've attached a little script I wrote for another user. Just place the icons you want in the folder you'll see indicated in the script (~/Volume Icons), named "Volume-Name.VolumeIcon.icns".
When this runs as the post-copying script, it'll copy in the right icon.
__________________
--Dave Nanian |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Script problem | DavidCB | General | 4 | 08-14-2005 08:26 AM |
Bizarro script behavior | RobLewis | General | 7 | 07-30-2005 09:37 PM |
Error: No space left on device | tradervic | General | 11 | 06-29-2005 04:50 PM |
Some Questions About The Disable_Spotlight Script | Herbert Schulz | General | 6 | 06-13-2005 03:06 PM |
Error when running SuperDuper via shell script | kbradnam | General | 9 | 03-09-2005 05:12 PM |