Hi,
I am using the latest version of cwrsync and I have a question regarding multiple source directories. If I wanted to sync multiple source directories to a Rsync server, how could I do that in the same script? Or do I need to create separate scripts for each source directory?
Thanks in Advance.
Mike
You can specify as many source directories as you wish, as long as they are available as local directories. Info from rsync man page:
rsync ... SRC ... HOST:DEST
rsync ... HOST:SRC
rsync ... SRC ... DEST
rsync ... HOST::SRC
rsync ... SRC ... HOST::DEST
rsync ... rsync://HOST/SRC
rsync ... SRC ... rsync://HOST/DEST
Can multiple destination directories be setup in the same session? I am assuming not, but just in case I wasn't sure if there happens to be a way.
Only one destination is allowed.