Search the web
Sign In
New User? Sign Up
unison-users · Users group discussion forum for Unison file synchronizer
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
unison feature request   Message List  
Reply | Forward Message #4352 of 8661 |
This is a request for a new feature in unison:

I am syncing two locations via a usb flash drive (i.e. moving it
between the machines and syncing each with the drive).

The flash disc is 128 mb, but I want to sync directories of about 1gb

This is not possible at the moment as unison stores a copy of all
files on the usb drive.
It should not need to do this - it could tell if a file has changed
just by storing the filename & date (and perhaps checksum).

So it would be nice for unison to optionally use a different algorithm
when using a removable drive.
This algorithm would look like this:

Each file can be represented by a 'token' that consists of the
filename, checksum & date.
On the removable disk, it stores the directory structure as before,
but all files are normally replaced by their tokens.

When unison syncs, if it detects the file token is older than the file
being synced with, it copies the actual file onto the disk in place of
the token.
If it detects an actual file on the removable disk and this is newer
than the other file, then it replaces the other file with the file on
the removable disk & then replaces the file on the removable disc
with a token.

You could extend this to syncing > 2 sets of directories by storing 1
token for each set being synced.


how difficult would this enhancement be and what are the chances of it
happening?

regards,

Tom





Mon Aug 22, 2005 12:29 pm

kevlarrat
Offline Offline
Send Email Send Email

Forward
Message #4352 of 8661 |
Expand Messages Author Sort by Date

This is a request for a new feature in unison: I am syncing two locations via a usb flash drive (i.e. moving it between the machines and syncing each with the...
kevlarrat
Offline Send Email
Aug 24, 2005
8:55 am

Hi Tom, Shame you have had no response as yet. I would also be very interested in this sort of solution. Hopefully someone will look into it! Meanwhile I have...
Sander Oom
sanderoom
Offline Send Email
Aug 28, 2005
12:14 pm

... This would involve nontrivial changes to some pretty complex code. I'm afraid it's not likely to happen. Regards, - Benjamin...
Benjamin Pierce
benjamincpierce
Offline Send Email
Aug 28, 2005
10:13 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help