>One corner case to consider is: What happens when one of the
>pathnames in the list turns out to be a directory?
First we should sync the permissions on the directory, per opts. Same
for character/block specials. Plain files are not the only nodes in the
filesystem.
Are you sure we want to ignore "-r" (--recursive) in this mode? I'm sure
I want the "filter" mode and I'm pretty sure I want it to honor the other
options. I see uses for pulling a "sparse list" as well as pushing one.
I might call the option --filter and _not_ take a filename, just always
read stdin (to read a file use <file). To make it more useful in a pipeline
the output (maybe optionally) should be the list of files it actually changed.
I could use that.
--
ksb