wget recursive
Good morning everyone!
Today I'm posting more than a little hint of Linux (you must have realized that Esto addicted to Linux)! I'll show you how to download files from an FTP recursively. But for serveria this? Simple! Imagine the following scenario: I have a routine backup of my system.
Suppose my system is hosted at marcelosabadini.com.br / system / and I want to download ALL contents. So would run the following command:
- ://USUARIO-DO-FTP:SENHA@marcelosabadini.com.br/sistema wget-r ftp :/ / USER-TO-FTP: SENHA@marcelosabadini.com.br / system
Who does the magic here is the-r option. Here are some interesting options in wget:
- C: is the option to resume your downloads wget, or if something happens and we can stop the download Reboot the exact point where we left off;
- -R: tells wget to download is recursive, ie, wget should act performing to download all links on the page;
- -B: Causes wget be running in the background. By default it is in the foreground and is not changing while it is running.
- -N: This option only downloads the files that are newer.
- -The mp3, swf, tells wget to download files only. MP3 and. Swf. If the parameter was not specified it would download all the files on the page;
- Mp3-R: tells wget to reject files. MP3. If the parameter was not specified it would download all the files on the page;
- N-l: Is the 'level' set of recursion with the-r.
To see all the options type wget: wget-help
I hope the tip is helpful! Hugs



3 Comments to "wget recursive"
So ... here I come for Linux too!
Great post man, here I come!
Hugs!
By Rafael Ortega Bueno (6 comments) on 23/10/2009
Need help just say Rafa!
Skype has my
By Marcelo Sabadini (109 comments) in 10/27/2009
I'd like to download all the mp3 files a web page. The problem is that the page has hundreds of audio files, do not have much time to download a file by file. I use Ubuntu Linux. Is there any command line that makes it possible for me to download only those files automatically at the same time?
By Ramon (1 comments) on 27/10/2010