#1
|
|||
|
|||
Compressing the sparse image file ...
Hi,
Every time a SD backup is made to a sparse image file, the file increases in size. I would like to automate this procedure by executing a shell script at the end of my backup. I wrote a regular AppleScript that works well. Can somebody help me convert this script in SS language: Code:
property imagesPathList : {"/Sauvegardes/SuperDuper/Duplication - iMacG5.sparseimage"} tell application "Caffeine" turn on end tell repeat with i in imagesPathList set filePath to i try do shell script "hdiutil compact " & quoted form of filePath end try end repeat tell application "Caffeine" turn off end tell Robert Lespérance P.S. Caffeine is an utility that can reset the system's idletime periodically, preventing the computer of going to sleep. I suspect that the shell script will not need these statements because SD does that already. |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sparse Image - out of space | rgrahame | General | 1 | 11-14-2008 03:43 PM |
SD not unmounting sparse image volumes | acronce | General | 1 | 09-14-2008 11:22 AM |
Hangs while backing up to network mounted sparse image | acronce | General | 9 | 09-11-2008 01:25 PM |
Ever-Growing Sparse Image File... | Marco_Polo | General | 6 | 02-19-2007 10:21 AM |
Sparse image from aborted DMG backup? | Winston | General | 9 | 10-22-2005 12:28 PM |