LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   wget -nH -nc -np -r -e robots=off -R "index.html*" -r -l1 --no-parent -A.conf http:// (https://www.linuxquestions.org/questions/linux-software-2/wget-nh-nc-np-r-e-robots%3Doff-r-index-html%2A-r-l1-no-parent-a-conf-http-4175521101/)

Devyn 10-05-2014 11:25 AM

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

Devyn 10-05-2014 11:45 AM

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


All times are GMT -5. The time now is 07:48 PM.