Caleb, I believe you :)

I asked for the same feature some monthes ago...

My uncomfortable solution used a perl-script and an alias:

alias mmir "glob -d echo #DIR-PATTERN# | dirs2lftpcmds.pl >lftpcmds.temp
; source lftpcmds.temp"

would be ok, if alias supported parameters !


Sometimes when I need to download many Dirs, I want to select them one
by one (like in Win Explorer), therefore I created a little GUI-script
with gtk-perl which takes a dir-list as input and gives
lftp-mirror-commands for the selected dirs as output.

Then it would be cool to have a graphical lftp ;)

cheers,
-Laurent

*** dirs2lftpcmds.pl ***

#!/usr/local/bin/perl
 $_=<STDIN>; 
 s!(.*?)/?\s!queue mirror -c -p \"$1\"\n!g; 
 print;


-----Original Message-----
From:   Caleb Epstein
Sent:   Tue 21.05.2002 17:47
To:     [EMAIL PROTECTED]
Cc:     
Subject:        Re: mmirror?

On Tue, May 21, 2002 at 11:41:15AM -0400, Paul Jarc wrote:

> Do you really care about the syntax, or just the functionality?  You
> can construct a single regular expression to match all those glob
> patterns: ^\(abc\|def\|ghi\).* Or something like that.  paul

        Why won't you folks believe me?

        This only works for files within directories.  I want to
        specify multiple directories and/or wildcarded directory
        names.

-- 
Caleb Epstein |  bklyn . org  |
    cae at    | Brooklyn Dust |       Real Users hate Real Programmers.
bklyn dot org |   Bunny Mfg.  |




Reply via email to