Displaying 1 result from an estimated 1 matches for "posttransf".
Did you mean:
posttrans
2003 Jun 07
1
patch to rsync to add options for pre- and post-transfer commands
...o
give rsync in --daemon mode the ability to run a pre-transfer and
post-transfer command. These options handle our need to prepare a server
to receive files and to do some processing after receiving files.
The options for /etc/rsyncd.conf are
pretransfer script = /some/command/to/run
posttransfer script = /some/other/command
The commands are exec'd (not run through system() or popen()) and the
inputs are the list of files (and directories) that are being synched
(from struct file_list *flist).
If the pretransfer script fails the synch is stopped.
--
david ahern
-------------- ne...