On Wed, 11 Feb 2004 22:11:39 +0000 Nigel Wilkinson <[EMAIL PROTECTED]> wrote:
> I haven't actually done this but if you have a profile "default" > then > > unison -ui text -batch > > will run unison in text mode and the batch option means "do not > ask any questions" so any conflicts will not be copied. However it > still asks for the password for the remote system. To get round > that you would probably need to write a script in something like > expect in order to supply the required password. > > Good Luck > NIgel > > --On Monday, February 09, 2004 23:24:29 -0500 Lee Wiggers > <[EMAIL PROTECTED]> wrote: > > > Anyone know how to run Unison as a cron job? The tutorial > > indicates human intervention between the file comparison and > > copying unless I'm missing something. > > > > > > > Thanks Nigel The key was the -batch switch. Remote is win2k box so no password necessary. Works well. Now I can play with running 6 profiles with cron or organizing my file server so I can nail 'em all with one profile. Organize usually isn't in my dictionary so I'll probably opt for the hard way. Thanks again Lee
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
