LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-22-2009, 08:21 AM   #1
Pinkdog
LQ Newbie
 
Registered: Oct 2003
Posts: 25

Rep: Reputation: 15
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!
 
Old 09-22-2009, 08:49 AM   #2
edenCC
Member
 
Registered: May 2006
Location: China
Distribution: Debian
Posts: 198
Blog Entries: 1

Rep: Reputation: 32
how about using redirection directly like this:

Quote:
wget **** >> mylog.file
For other usage examples, you can refer this link for details.
 
Old 09-22-2009, 02:21 PM   #3
Pinkdog
LQ Newbie
 
Registered: Oct 2003
Posts: 25

Original Poster
Rep: Reputation: 15
great thanks, i'll try that.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
wget not working! but "man wget is" ??? wrapster Solaris / OpenSolaris 5 07-30-2008 03:00 AM
wget friskydrifter Linux - Desktop 3 09-10-2006 06:44 PM
Can't use wget ust Linux - Software 6 08-11-2005 09:59 AM
wget ? maybe wesw02 Linux - Software 3 11-24-2004 12:25 AM
How do I get WGET to do this...? mrde50garfield Linux - Software 1 12-03-2003 12:11 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:07 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration