Yes, look at the post-xfer exec option of man rsyncd.
Regards
Le 4 oct. 09 ? 00:14, sdcsdc sdcsdc a ?crit :
> Hi,
> I want to transport a bash file with ipfw rules when the file is
> updated from PHP program between Ubuntu server and FreeBSD server
> via SSH. The problem is that then the bash file is copyed to FreeBSD
> it must be executed and the new ipfw rules work.
>
> Is it possible rsync to execute the bash file after it is copyed to
> the FreeBSD server?
>
> Regards
> --
> Please use reply-all for most replies to avoid omitting the mailing
> list.
> To unsubscribe or change options:
https://lists.samba.org/mailman/listinfo/rsync
> Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html