Re: On Yojimbo and Time Machine

2008-02-15 Thread Florian Leitner
Coming to think of it, there would be a way to back up Yojimbo with  
Time Machine: you just need to create a sparse bundle disk image  
with Disk Utility, put your Yj DB on that and make the Yojimbo folder  
in ~/Library/Application Support/ an alias to the mountpoint of the  
image in /Volumes. Finally, write a little Automator script to mount  
the image, e.g. at startup, and start Yojimbo through the script after  
mounting the image. Time Machine can back up the Yj DB in pieces of 8  
MB, because you chose sparse bundle disk image!.


Basically, it is much the same as you might have already for Mail -  
e.g., I use an encrypted sparse bundle disk image for my mail folder,  
which I mount before starting mail, requesting the password and then  
starting Mail - and a nice way to safely store your e-mail, too.


-Florian





On 15.02.2008, at 7:37, Jan Erik Moström wrote:


Rhet Turnbull [EMAIL PROTECTED] 08-02-14 15.58


I would never use a backup solution that didn't run on live data.
Thankfully the days of they system is down for backup are long  
gone.

Whether I use Time Machine or I use Super Duper or Chronosync or
something else, I'm certainly not about to take my machine offline or
logout to do the backup.


Your misunderstanding me, if you run a backup on a programs data  
file (without the applications talking to each other) you always run  
the risk of inconsistent data (unless you have a filesystem that  
does some fancy stuff). For example, if you have an application with  
several files that in some way depend on each other - for example a  
database that store data as individual files and then have an index  
file to keep track of them - there is always the chance that the  
backup is done between the modification of the individual files  
which would make the data in the backup inconsistent.


So while I'm running TM for my whole disk, I'm also running a second  
program for applications that is constantly running like my email  
program.



   jem
--
Jan Erik Moström, www.mostrom.pp.se


--
--
This message is sent to you because you are subscribed to
the mailing list yojimbo-talk@barebones.com.
To unsubscribe, send mail to: [EMAIL PROTECTED]
List archives:  http://www.listsearch.com/yojimbotalk.lasso
Have a feature request, or not sure if the software's working
correctly? Please send mail to: [EMAIL PROTECTED]



--
--
This message is sent to you because you are subscribed to
 the mailing list yojimbo-talk@barebones.com.
To unsubscribe, send mail to: [EMAIL PROTECTED]
List archives:  http://www.listsearch.com/yojimbotalk.lasso
Have a feature request, or not sure if the software's working
correctly? Please send mail to: [EMAIL PROTECTED]


Apple Script - tag selected items

2007-09-30 Thread Florian Leitner
By the way, as I could not find a single example of an Apple Script  
for tagging selected items in the archive on a quick  dirty search,  
so here is my variant for the records:


pre
-- tag all selected items in Yojimbo
-- Presents the user with the list of current tags in
-- Yojimbo; if none is chosen, the user can create a
-- new tag by pressing cancel. If this is canceled as
-- well, nothing happens.

tell application Yojimbo
set all_tags to (name of every tag)
	set tag_name to choose from list all_tags with prompt Tag selected  
items with (or Cancel to create new tag):

if tag_name is false then
display dialog Tag name to add: default answer new
set tag_name to text returned of result
end if
set the_selection to the selection
repeat with an_item in the_selection
add tags {tag_name} to an_item
end repeat
end tell
/pre