LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   wget help (https://www.linuxquestions.org/questions/linux-software-2/wget-help-756981/)

Pinkdog 09-22-2009 08:21 AM

wget help
 
Hello all,
im using wget a range of files from my FTP server.
The command im using is

Code:

wget -nc -A R-*[100-419]*.txt ftp://testuser:test@
192.168.1.10/test/*

That works, and it downloads files R100-R419 for text files only.

Now i want to log the output of the connection/transfer. So i add the -o

Code:

wget -o -nc -A R-*[100-419]*.txt ftp://testuser:test@
192.168.1.10/test/*

Once i add that, it seems to break -nc. I dont want wget to download the file again if its up to date.

How can i have logging to file and also NC??

Any help would be great!
Thanks!

edenCC 09-22-2009 08:49 AM

how about using redirection directly like this:

Quote:

wget **** >> mylog.file
For other usage examples, you can refer this link for details.

Pinkdog 09-22-2009 02:21 PM

great thanks, i'll try that.


All times are GMT -5. The time now is 06:30 PM.