Tao Effect Forums

Espionage => Espionage 2 => Topic started by: fellowweb on February 18, 2011, 12:37:44 PM

Title: Scheduled Compression of Espionage Sparse Images
Post by: fellowweb on February 18, 2011, 12:37:44 PM
Hi there,

I just realized that I could save a lot of disk space after compressing the sparse images of encrypted Espionage folders (http://www.taoeffect.com/forums/viewtopic.php?f=6&t=171&p=417#p418) using the following Terminal command:

hdiutil compact ".Secret.sparseimage"
I would love to automate this with an AppleScript to regularly run it as a scheduled script e.g. using launchd or simply a repeating iCal event.

Is there a way I can temporarily disable a specific Espionage folder (as described as step 2 here (http://www.taoeffect.com/forums/viewtopic.php?f=3&t=83)) using AppleScript (not GUI scripting though, please)?

Thank you!
Title: Re: Scheduled Compression of Espionage Sparse Images
Post by: greg on February 18, 2011, 12:46:07 PM
At the moment there is no way to easily automate this without GUI scripting. A command-line tool for manipulating Espionage'd folders is planned though.

Also, we are planning on making Espionage more active about managing folder sizes, so you might not have to worry about it in the future.  8-)
Title: Re: Scheduled Compression of Espionage Sparse Images
Post by: fellowweb on February 18, 2011, 01:16:38 PM
Quote from: "greg"A command-line tool for manipulating Espionage'd folders is planned though.

Sounds great! Would a start for this be something as simple as the following?

Espionage.app/Contents/MacOS/Espionage -unlock "~/Secret Folder"
Quote from: "greg"Also, we are planning on making Espionage more active about managing folder sizes, so you might not have to worry about it in the future.  8-)

Ha, even better. :)

Keep up the great work!