On Thu, Nov 27, 2003 at 01:30:02PM +0100, jonas.orback wrote:
> When I do :
>  mirror -vvv ftp://test:[EMAIL PROTECTED]:1500/DOCS/ ftp://test2:[EMAIL 
> PROTECTED]:2121/old/docs/
> 
> It creates the DOCS dir on the destination aswell so it becomes /old/docs/DOCS/
> I just want to copy the files/directories in /DOCS/*  -> /old/docs/

Remove trailing slash in target URL. lftp appends source directory base name
to target directory if it ends with a slash.

> And is there anny way of setting how old the files/directories shoud be to be moved. 
> Because I dont want to mirror 1month old files/directories.
> Like som setting that tells lftp to mirror all files/directories that are 2days old 
> or newer.

There is an option to mirror only files newer than a specified local file.

-- 
   Alexander.

Reply via email to