Have you looked at the --cut-dirs option?

Cheers,
Giuseppe



[email protected] writes:

> Hello,
>
> on my ftp server I Have files in the directory
> /srv/ftp/ikis/download
> and in some subdirectories
>
> I want to download the content of download to
>
> ~andreas/ikis
>
> e.g.
>
> /srv/ftp/ikis/download/myfile  ->~andreas/ikis/myfile
> /srv/ftp/ikis/download/subdir/test  ->~andreas/ikis/subdir/test
>
> With
> wget -r -Nnv --no-passive-ftp ftp://svc-ftpticket/ikis/download
> it creates ~andreas/srv/ftp/ikis/download/
>
> with -nH added it creates
> ~andreas/srv/ikis/download/
>
> I found no way to simply get the files into ~andreas/ikis and the
> respective subdirs.
>
> Thanks in advance
> Andreas

Reply via email to