On Thu, Nov 29, 2001 at 05:07:42PM +0300, Alexander V. Lukyanov wrote: > Not quite. -i and -x options apply not only to files, but also to directories.
Patterns are applied only to directory and file name, not to all path? ie., I can't do 'mirror -i somedir/somefile DIR' ? Can it be done that way, some option for mirror for example? It would be much more usefull. With 'mirror DIR' path matched against would be '/file', '/dir/file' etc. If someone would like to match against only last part of path (like it's done now) he/she could use sth like '-i .*/PATTERN' (assuming that first char in path is allways '/') > I think this should be changed so that directories are excluded/included > separately. This can be done if each directory ends with '/'. If we want to match only directories, just use 'DIRECTORY_PATTERN/$' -- Piotrek (@ ~) irc: #debian.pl Mors Drosophilis melanogastribus!
