PDA

View Full Version : After copy script to edit drives' Spotlight Comments?


techno
03-02-2007, 04:13 PM
Hi there,
I'm loving SuperDuper! and I am wondering if it is possible to use a shell script (or any kind of code) to edit the Spotlight Comments (in Get Info) of the source and target drives with the following info: "Last backed up using SuperDuper! on [date] at [time]." If possible, I would want the script to preserve any text in the Spotlight Comments that was not made by that script earlier. Is this possible? Let me know if I can be more specific to help you get an understanding of what I want. Thanks!

dnanian
03-02-2007, 04:15 PM
It's probably possible, techno... perhaps you could do it with an AppleScript.

techno
03-04-2007, 01:03 AM
It's probably possible, techno... perhaps you could do it with an AppleScript.
How can I use AppleScript to "ask" SuperDuper! what the source and target disks are? Thanks!

dnanian
03-04-2007, 09:20 AM
You can't at present, though you could try parsing the name of the settings file...