Syncing multiple directories/folders with rsync over ssh

Status
Not open for further replies.

whotopia

Cadet
Joined
Nov 26, 2015
Messages
1
Can someone help with rsync question. I am trying to pull sync multiple remote directories using one rsync entry. The rsync comman allows for

rsync -av -e ssh user@host:/{dir1,dir2,...} /dest/

so I've tried to put e.g.: Remote Path: /{var ,etc}

But this doesn't seem to work. On command line, it works find.

After looking at the incantation that FreeNAS actually generates from the web UI, I think the reason might have to do with how/which characters get escaped. i.e. the / and , characters might be causing issues.

Can someone who has figured this out, or with better shell scripting skills than I offer some help?

Thanks!
 
Status
Not open for further replies.
Top