Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: File synchronization

From: maarten:koopmans:surfnet:nl at: 29-Nov-2002 15:40

Gabriele, And now you use Rugby to do it over the internet. Isn't that IOS ;-) --Maarten Gabriele Santilli wrote:
> [This is a resend... dunno why the first time it didn't arrive. If > it did to you, please accept my apologies for the duplicate.] > > Hello all, > > I just "finished" (meaning that now it is almost usable :-) a > script to sync two dirs (I use it to sync the REBOL dir between my > desktop PC and my laptop). The GUI is probably awful (and > beta-depended, sorry Carl :-( ), but it is a start. > > What it does: it asks you the two dirs you want to sync. It then > scans them to find all the differences. (This process can take > time, and there is no progress bar, so be patient please --- or > add a progress bar to it. :-) > > It then displays a list to let you decide the action to take on > files that are missing or that have been modified (only the > modification date is checked). The default is to copy any modified > file over the old one and add any new file to where it is missing; > so if you leave the list alone and just click on "Do it!" it will > just do that. > > But you can also click on the list items to toggle the action. > Basically for each item you can select between the default "copy" > action, the "leave it alone" action (i.e. do nothing on that > file), and the "delete" or "restore" action (depending on the > file). If the file is missing on one of the two directories, you > can this way delete it from where it is present; if the file is > modified but you want to restore the old version, you can by > selecting the "restore" option. (I think it is easier to try it > out than to explain it.) > > This can be useful to backup your data files to another drive or > so; you can easily keep the backup up to date by synching it every > day or so. > > I hope it can be useful. Also, I hope someone with more free time > than me can make a better GUI for it. :-) > > Regards, > Gabriele.
-- Maarten Koopmans Innovation manager tel: +31 30 2 305 324 SURFnet bv fax: +31 30 2 305 329 P.O.Box 19035 email: [maarten--koopmans--surfnet--nl] NL-3501 DA Utrecht The netherlands