CloneEject is a simple Applescript drag and drop application that creates an invisible file named ".metadata_never_index" at the root level of any unlocked drive dropped on it. The purpose of the file is to prevent Spotlight from indexing the drive the next time it is mounted. This helps cloning software such as SuperDuper copy files faster.
The intended use of CloneEject is that after using your cloning software, you�ll drag and drop the disk icon on CloneEject. The first iteration of the software also ejected the drive (hence the name) but that seemed to confuse too many
Why this couldn't be script we could use directly in SuperDuper? There is possibility to run script before or after cloning. Why not make script which SuperDuper could run to disable Spotlight indexing and then automatically eject that disk?
I found other work-around - I disabled clone disk indexing in System Preferences/Spotlight. Just drag your mounted clone disc icon into Privacy section of the Spotlight options in System Preferences, and it will never be indexed. But if your script could be inserted in SuperDuper!, it would be even better.
Re: superduper - the answer is because I don't know the name of the disk used inside of superduper. What I did instead was ask the SD programmer to simply add the invisible file to his own list, which he uses for "restore spotlight state." He's considering it.
As to system preferences: it doesn't seem to remember the privacy state of removable hard drives between restarts. That is, in fact, what inspired me to write this little script.
If the SuperDuper! author would agree - maybe there would be possibility for SD to pass on disc name which is used for cloning? Because SD knows to which disc it is cloning internal drive. So perhaps you could use %disc code and SD would insert correct value?...
Please login or create a new MacUpdate Member account to use this feature
Watch Lists are available to MacUpdate Desktop Members Upgrade Now
Download and auto-install
using MacUpdate Desktop. Save
time moving folders and cleaning-up.
CloneEject is a simple Applescript drag and drop application that creates an invisible file named ".metadata_never_index" at the root level of any unlocked drive dropped on it. The purpose of the file is to prevent Spotlight from indexing the drive the next time it is mounted. This helps cloning software such as SuperDuper copy files faster.
The intended use of CloneEject is that after using your cloning software, you�ll drag and drop the disk icon on CloneEject. The first iteration of the software also ejected the drive (hence the name) but that seemed to confuse too many people, so now, the zip file you get includes a script to write the file, and a script to delete the file along with very clear instructions. (You must eject the drive yourself, now.)
+21
I found other work-around - I disabled clone disk indexing in System Preferences/Spotlight. Just drag your mounted clone disc icon into Privacy section of the Spotlight options in System Preferences, and it will never be indexed. But if your script could be inserted in SuperDuper!, it would be even better.
+1
As to system preferences: it doesn't seem to remember the privacy state of removable hard drives between restarts. That is, in fact, what inspired me to write this little script.
Cordially
Tracy
+21
bill bob 1 reviewed on 21 Aug 2007
Thank you