2000-09-18-13:19:48 Peter Loo:
> So, my point is, rsync is getting created dynamically.
So, my point is, since you only want to copy specific, indicated
files, and not all files anywhere they may be located within the
directory tree that happen to match some filename include/exclude
patterns, why not use a simple, single-file rsync invocation rather
than a recursive-directory-scanning one?
> The way it is set up now, if I choose FOLDER.GIF (1), both 1 and 3
> get updated or if I choose (2), both 2 and 4 get updated. That is
> not want I want.
It is, however, what you are asking for. Remove the "-r", and build
a separate command-line for each distinct destination directory,
naming the specific files you want copied into that destination
directory. Since you may have multiple dst dirs, you may require
multiple rsync invocations.
-Bennett
PGP signature