Hey Alexander!

Great thnx for ur reply, i wasn't aware of the glob -d command but i will
reasearch
waht it is written for, anyway it works great! Exactly what I wanted! I can now
auto
download my series.

I got two additional small questions;

I wrote a little script that extracts and than removes all *.r* files the
script
is called pakuit.sh, could i run this script FROM within the script i wrote for
lftp?

As in on the last rule of the script below I would put a rule
pakuit.sh

My 2nd little question is, could I prevent lftp from downloading *Sample* and
*sample* ? [Files and Folders]
My 2nd sub question is can I block it frown dowloading  "(*"  [Files & Folders]

Thanks alot so far!
I am nearing auto download perfection :)


Kind regards,


Menno Dijkstra



------- Oorspronkelijk bericht ---------------
Van: "Alexander V. Lukyanov" <[email protected]>
Datum: Mon 27/04/09 11:29
Aan: Menno Dijkstra <[email protected]>
Cc:  <[email protected]>
Onderwerp: Re: lftp script using autocomplete

> On Mon, Apr 27, 2009 at 12:55:07AM +0200, Menno Dijkstra wrote:
>> the same. What i would like is the following;
>> lftp site
>> cd /TV
>> mirror Prison[TAB] /TV/Prison.Break/S4/
>> exit
>> 
>> how would i let lftp actually do the [TAB] autocomplete?
> 
> Try this:
> 
> glob -d mirror Prison* /TV/Prison.Break/S4
> 
> If you add a slash (S4/), lftp will append base name of source directory.
> 
> --
> Alexander..
> 
> 

----------------------------------------------

Reply via email to