Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Main Support Categories > General Help
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

General Help
All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old August 9th, 2008   #1
Th3Professor
Skinny Soy Caramel Ubuntu
 
Th3Professor's Avatar
 
Join Date: Oct 2007
Location: Earth
My beans are hidden!
wget -r (only recursive from within a specific directory)

It's been ages since I've used wget... though it looks like it could come in handy for one particular purpose... to recursively download everything contained within a specific directory. However, when invoking the recursive flag/option, it ends up downloading a lot more than what I asked for.

Example:

wget -r http://site.com/directoryZ/

I only want to download recursively from "directoryZ" as a starting point.

It ended up doing this:
site.com/
./directoryA/
./directoryB/
etc.

How do I restrict recursive to only download all that is contained within one specific subdirectory?

Thank you!
Th3Professor is offline   Reply With Quote
 

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:53 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. lingonberry