On Wed, 2002-04-17 at 00:10, Alexander V. Lukyanov wrote:
> On Tue, Apr 16, 2002 at 04:07:04PM -0700, Florin Andrei wrote:
> > IMHO, regular expressions are sort of overkill for the average user.
> > Most of the time, all that people want is "get files like /dir/*.mp3" or
> > something like that; you know, shell-like matching patterns.
>
> 2.5.1 does have shell patterns in mirror. They are specified using -I/-X
> mirror options.
Do they work only on the file name, or on the whole path?
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.
--
Florin Andrei
The ability to remember useless stuff is inversely related to
the useful knowledge in one's head.