trigger command on successful upload?
wayned at samba.org
Wed Jun 16 17:08:35 GMT 2004
On Wed, Jun 16, 2004 at 03:15:00PM +1200, Jason Haar wrote:
> rsync -xxxxx -e ssh src_dir remote:dst_share
> ssh remote "/usr/local/bin/cleanup"
You don't need the separate ssh connection if you use --rsync-path to
point to a script that first runs rsync (using the supplied args) and
then does the post-processing work (as appropriate for any error code
that was returned).
More information about the rsync