Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 12-28-2017, 12:45 PM   #1
LQ Guru
Registered: Sep 2013
Distribution: Slackware 14.2 / Slackware 14.2 current
Posts: 5,416

Rep: Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009Reputation: 1009
How to get just a subdir of a web sight using wget or whatever else works?

I am just wanting one little subdir off of one of slackwares sights, not the entire sight.

 wget -r
gets everything, so is there a way to limit this to only what I want, using wget or whatever works to do that?
Old 12-28-2017, 03:31 PM   #2
LQ 5k Club
Registered: Jan 2011
Location: Nowhere near you, thank God.
Distribution: High Sierra
Posts: 8,712
Blog Entries: 19

Rep: Reputation: Disabled
What directory and what do you "want" from it?

Assuming windowmaker/ you can use this:
wget -rnp --cut-dirs=5


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
wget works but elinks wont go online, what could be happening? tsh3po Linux - Newbie 2 04-25-2011 06:42 PM
wget, web crawler, web spider and web archiving beckettisdogg Linux - Newbie 1 08-16-2009 08:27 AM
Wget: Download Folder and Subdir and Files infonlinebr Linux - Networking 4 05-28-2008 04:21 PM
wget works but telnet [host] 80 does not connect ttonteri Linux - Networking 6 12-28-2004 10:57 AM
wget gives me 404 when IE works just fine...? ivj Linux - Software 7 07-24-2004 11:13 PM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:43 AM.

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