Forums temporarily locked down! Please read!

Author Topic: Scheduled Compression of Espionage Sparse Images  (Read 2345 times)

fellowweb

  • Script Kiddie
  • ***
  • Posts: 7
    • View Profile
Scheduled Compression of Espionage Sparse Images
« on: February 18, 2011, 07: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 using the following Terminal command:

Code: [Select]
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) using AppleScript (not GUI scripting though, please)?

Thank you!
« Last Edit: December 31, 1969, 11:00:00 PM by Guest »

greg

  • Administrator
  • Veteran
  • *****
  • Posts: 898
    • View Profile
    • http://www.taoeffect.com
Re: Scheduled Compression of Espionage Sparse Images
« Reply #1 on: February 18, 2011, 07: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-)
« Last Edit: December 31, 1969, 11:00:00 PM by Guest »
Follow @espionageapp on twitter for news!

fellowweb

  • Script Kiddie
  • ***
  • Posts: 7
    • View Profile
Re: Scheduled Compression of Espionage Sparse Images
« Reply #2 on: February 18, 2011, 08: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?

Code: [Select]
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!
« Last Edit: December 31, 1969, 11:00:00 PM by Guest »