Multiple Source Directories

3 posts / 0 new
Last post
itefix
Offline
Last seen: 2 weeks 9 hours ago
Joined: 01.05.2008 - 21:33
Multiple Source Directories

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

itefix
Offline
Last seen: 2 weeks 9 hours ago
Joined: 01.05.2008 - 21:33
Re: Multiple Source Directories

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

itefix
Offline
Last seen: 2 weeks 9 hours ago
Joined: 01.05.2008 - 21:33
Re: Multiple Source Directories

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.

Topic locked

Release announcements