LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-19-2011, 07:26 PM   #1
Using Debian
LQ Newbie
 
Registered: Mar 2010
Posts: 4

Rep: Reputation: 0
Using wget to download images and updating to capture new ones from link


So I did my research of wget to download images from a site and used the following...

Code:
wget -r --level=0 -x -k -np http://somesitehere.com/content/images/names/
Everything went great, it took up tons of space and it captured all the different "names" that had different folders inside, and the images inside of those.

Well, when I went to check the website again, a day later, more folders got added to some names, and naturally new images appeared. I read the man pages for wget to see of a way to "update" and not repeat downloading the images I had gotten already but did not see anything that would behave the way I wanted.

How do I update with wget for new images/directories and not re-download what I have already from the same path(s)?

Thanks
 
Old 02-19-2011, 09:20 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
Read the man page again and take a look at the 'mirror' option

cheers
 
Old 02-19-2011, 09:58 PM   #3
Using Debian
LQ Newbie
 
Registered: Mar 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Indeed, you are right, that option suits my needs well. Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 images MikeQ Linux - Newbie 1 07-28-2009 08:45 PM
wget searching and downloading images on a website ? memo007 Linux - Software 10 11-13-2008 11:46 AM
Advanced wget with google images Darek84CJ Linux - General 1 10-23-2006 10:19 AM
Wget - download images from any location andreic Linux - Software 3 04-18-2006 05:22 AM
wget will not download full webpage with images hedpe Linux - Software 2 02-16-2006 12:46 AM


All times are GMT -5. The time now is 08:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration