Shirt Pocket Discussions  
    Home netTunes launchTunes SuperDuper! Buy Now Support Discussions About Shirt Pocket    

Go Back   Shirt Pocket Discussions > SuperDuper! > General

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-27-2005, 06:06 AM
yoxi yoxi is offline
Registered User
 
Join Date: Aug 2005
Posts: 4
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
Reply With Quote
  #2  
Old 08-27-2005, 09:04 AM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,809
Send a message via AIM to dnanian
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
Reply With Quote
  #3  
Old 08-27-2005, 11:14 AM
yoxi yoxi is offline
Registered User
 
Join Date: Aug 2005
Posts: 4
Coolio - v2: weeks? months? not saying?

- yoxi
Reply With Quote
  #4  
Old 08-27-2005, 11:23 AM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,809
Send a message via AIM to dnanian
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
Reply With Quote
  #5  
Old 08-28-2005, 01:47 AM
yoxi yoxi is offline
Registered User
 
Join Date: Aug 2005
Posts: 4
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
Reply With Quote
  #6  
Old 08-28-2005, 08:02 AM
dnanian's Avatar
dnanian dnanian is offline
Administrator
 
Join Date: Apr 2001
Location: Weston, MA
Posts: 14,809
Send a message via AIM to dnanian
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.
Attached Files
File Type: zip set_icon.zip (260 Bytes, 581 views)
__________________
--Dave Nanian
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

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


All times are GMT -4. The time now is 06:10 PM.


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