[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-wget] Wget path problem

From: art N
Subject: [Bug-wget] Wget path problem
Date: Wed, 1 Sep 2010 19:47:39 -0700


I'm using wget and came across a issue where I want to copy only the last
dir from FTP to local system.
The copy works fine but the problem is that wget creates the ftp full path.
I don't want that I ust want the last folder to be created.


remote ftp:  /tools/test01/dvd
local:   /usr/mytools/

So when I copy I want only directory dvd to get copied to my local but it
copies to /usr/mytools/tools/test01/dvd. I want it to copy my local

I know I can use --cut-dir option but that's not helpful since the ftp path
is dynamic and can change so I always want the last path.
Is this possible with wget or I should look for another option?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]