Re: rsync and running scripts

2008-06-11 Thread Wayne Davison
On Tue, Jun 10, 2008 at 02:42:25PM -0700, becca23 wrote: > but I would like to know if there is an option, whether in the rsync > command or placed in the rsyncd.conf file where I can call a script > that runs each time rsync executes? See the "pre-xfer exec" and "post-xfer exec" daemon parameters

Re: rsync and running scripts

2008-06-11 Thread becca23
I really need it to run after rsync, how can I specify that? Michal Soltys-2 wrote: > > becca23 wrote: >> Would you do this using the ssh -s option? >> > > Just regular command, like ssh [EMAIL PROTECTED] 'ls -al /' > >> also, would this run the script before or after rsync completes? >> >

Re: rsync and running scripts

2008-06-11 Thread Michal Soltys
becca23 wrote: Would you do this using the ssh -s option? Just regular command, like ssh [EMAIL PROTECTED] 'ls -al /' also, would this run the script before or after rsync completes? That depends on your needs. -- Please use reply-all for most replies to avoid omitting the mailing list. T

Re: rsync and running scripts

2008-06-11 Thread becca23
Would you do this using the ssh -s option? also, would this run the script before or after rsync completes? Michal Soltys-2 wrote: > > becca23 wrote: >> I'm using the rsync protocol to keep a windows and linux system mirrored. >> I >> have set up the rsync and ssh to run properly, but I would li

Re: rsync and running scripts

2008-06-11 Thread Michal Soltys
becca23 wrote: I'm using the rsync protocol to keep a windows and linux system mirrored. I have set up the rsync and ssh to run properly, but I would like to know if there is an option, whether in the rsync command or placed in the rsyncd.conf file where I can call a script that runs each time rs