LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-05-2014, 11:25 AM   #1
Devyn
Member
 
Registered: Oct 2004
Posts: 98

Rep: Reputation: 15
wget -nH -nc -np -r -e robots=off -R "index.html*" -r -l1 --no-parent -A.conf http://


Trying to run this to get just the files ending in .conf extension from a particular folder:

wget -nH -nc -np -r -e robots=off -R "index.html*" -r -l1 --no-parent -A.conf http://localhost/TEST/ -B http://localhost/TEST/

However, it's creating ./TEST/ in the folder I'm running this in. I don't want the subfolder ./TEST created. Just need the *.conf files. How can I do this with wget?

Tried taking out the -r doesn't have any effect.

Cheers,
DH
 
Old 10-05-2014, 11:45 AM   #2
Devyn
Member
 
Registered: Oct 2004
Posts: 98

Original Poster
Rep: Reputation: 15
Sorry, subject line got truncated.

wget -nH -nc -np -r -e robots=off -R "index.html*" -r -l1 --no-parent -A.conf http://localhost/TEST/ -B http://localhost/TEST/

Should really read the above.

Cheers,
DH

Last edited by Devyn; 10-05-2014 at 12:03 PM.
 
  


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
[SOLVED] How to Block attacks "http://213.246.61.125:2082/index.html?" and similar. angel115 Linux - Server 5 01-19-2011 02:19 PM
"Forbidden / You don't have permission to access /~user/index.html on this server." honglin_8 Linux - Newbie 8 10-30-2007 08:41 AM
LXer: <a href="http://blogs.zdnet.com/threatchaos/index.php?p=311">Why is Linux more secure than Windows?</a> LXer Syndicated Linux News 0 04-18-2006 02:03 PM
visit linux web from windows, the site couldn't execute "index.html" automaticlly Meditator Linux - Networking 3 03-20-2004 11:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:21 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
Open Source Consulting | Domain Registration