Hi Jeremy,

On Mon, Jun 7, 2010 at 8:52 PM, Jeremy Dolan <[email protected]> wrote:
> I use Dropbox's syncing softwave and have this same problem. I use the 
> following technique, which helps somewhat, but it's not 100% safe.
>
> In general preferences, turn on "Automatically save Skim notes backups" (on 
> all machines where you use Skim).
>
> Now when you save foo.pdf at the office, you'll also write to a normal file 
> foo.skim, which contains the notes in addition to the file's xattrs. So this 
> file will sync normally with whatever syncing software you use. And when you 
> open foo.pdf from home, Skim will say: no notes found, but backup file found; 
> do you want to load those?
>
> The danger is, depending on how your syncing software works, you can end up 
> with multiple note sets for a pdf, and end up overwriting newer data with 
> older. Suppose you open foo.pdf from home, and it prompts you to load in the 
> foo.skim backup file. Great. Now you add more notes, and save. Great again, 
> all of your notes get saved to the xattrs as well as the backup file. But now 
> you go back to the office, where the local file system already has xattrs 
> notes for foo.pdf--the OLD xattrs. It's my understanding that in this case, 
> Skim won't prompt you to load the backup notes file, even those it's newer 
> than the xattrs and contains more data. It won't even warn you there's 
> conflicting data. Worse, now if you make a change to foo.pdf at the office, 
> when you save it again, you'll overwrite the backup file with the data from 
> home.

This is exactly the problem I had, so I patched skim to read the .skim
file first and the xattrs second. I've used this solution with dropbox
for a month and a half now and it's worked perfectly. If you are
willing to build skim yourself, it's a trivial fix. Look back through
the mail archives for the thread "always store notes in a separate
.skim file" from late April.

cheers,

/Patrik

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Skim-app-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-users

Reply via email to