LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 12-28-2017, 12:45 PM   #1
BW-userx
LQ Guru
 
Registered: Sep 2013
Location: MID-SOUTH USA
Distribution: Slackware 14.2 / Slackware 14.2 current / Manjaro / Parrot
Posts: 7,188

Rep: Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439Reputation: 1439
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.

Code:
 wget https://mirror.slackbuilds.org/slackware/slackware-14.2/source/xap/windowmaker/ -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
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Yawnstown, Ohio
Distribution: Mojave
Posts: 9,345
Blog Entries: 36

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

Assuming windowmaker/ you can use this:
wget -rnp --cut-dirs=5 https://mirror.slackbuilds.org/slack...p/windowmaker/
 
  


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 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

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:46 AM.

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