How can I rsync two folders on a remote site to my local machine?

Currently, I'm doing this using two rsync commands:

  rsync -a -e ssh [EMAIL PROTECTED]:dir1 .
  rsync -a -e ssh [EMAIL PROTECTED]:dir2 .

I'd like to use one command, but this doesn't work:

  rsync -a -e ssh [EMAIL PROTECTED]:dir{1,2} .

A read through the man page didn't turn up anything obvious. Any one have any ideas?

Regards,
- Robert
http://www.cwelug.org/downloads
Help others get OpenSource software.  Distribute FLOSS
for Windows, Linux, *BSD, and MacOS X with BitTorrent



_______________________________________________
CWE-LUG mailing list
[email protected]
http://www.cwelug.org/
http://www.cwelug.org/archives/
http://www.cwelug.org/mailinglist/

Reply via email to