On Sun, 14 Aug 2005 12:03:02 +0200, Christoph Gysin wrote:
> > Anybody knows how to specify more than one path with rsync using the
> > same first part (for the host) ? something like
> > [EMAIL PROTECTED]:[/home|/var]
>
> You could use the bash for expansion of the paths:
>
> $ rsync [options] [EMAIL PROTECTED]:{/home,/var} $DESTYou could also use the --files-from option echo home var | rsync --files-from - [options] [EMAIL PROTECTED]:/ $DEST You could also put the directories in a file instead of including them on the command line each time echo -e "home\nvar" >foo rsync --files-from foo [options] [EMAIL PROTECTED]:/ $DEST -- Neil Bothwick Committee (noun): A group of people spending hours taking minutes
pgpU0wPfmHo9N.pgp
Description: PGP signature

