On Wed, Apr 17, 2002 at 11:24:02AM -0700, Florin Andrei wrote:
> Do they work only on the file name, or on the whole path?

They work on several last path components depending on the number of
slashes in the glob pattern. To exclude directory SRPMS you could do:

   mirror -X SRPMS/

The trailing slash matters, because directories are appended with a slash
before matching.

> I'm trying to avoid downloading the SRPMS directory, with this command:
>
> lftp -e "cd /redhat/redhat/linux/updates/7.2/en; \
>     mirror -ce -X */SRPMS/* os; \
>     bye" http://mirrors.kernel.org
>
> But it doesn't do what i expect.

It would mirror the SRPMS directory, but won't transfer any files in it.

--
   Alexander.

Reply via email to