Recursive flag needs fixing 2.4.7pre1

Eric Whiting ewhiting at amis.com
Fri Aug 24 08:38:33 EST 2001


Martin,
Just a minor fix.


Jie,

Try the -r option (or the --recurse) option instead.

It looks like the source changed to this:

options.c: {"recurse", 'r', POPT_ARG_NONE,   &recurse},             

But the help is still at:

options.c:  rprintf(F," -r, --recursive   recurse into
directories\n");     


eric







Jie Gao wrote:
> 
> rsync: --recursive: unknown option
> rsync error: syntax or usage error (code 1) at main.c(739)
> 
> The script:
> 
> #! /bin/sh
> /usr/local/bin/rsync --verbose  --progress --stats --compress --rsh=/usr/local/bin/ssh \
>                      --owner --group --recursive --times --perms --links --delete \
>                      --device --hard-links --exclude "*bak" --exclude "*~" \
>                      /opt/mydir host_b:/opt
> 
> What's going on?
> 
> Jie

-- 
__________________________________________________________________
Eric T. Whiting					AMI Semiconductors




More information about the rsync mailing list