Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

wget with wild characters [*.cpp]

Tags:

wget

How to use wild characters in wget ? e.g. wget http://abc.com/programs/*.cpp

Thanks

like image 985
Mandar Pande Avatar asked May 04 '11 18:05

Mandar Pande


1 Answers

Try

wget -r -l1 --no-parent -A.cpp http://abc.com/programs/

based on http://www.linuxquestions.org/questions/linux-networking-3/use-wget-to-download-multiple-files-with-wildcards-603486/. Depending on the permissions set on the server, it may or may not work.

like image 62
Eric Seidel Avatar answered Sep 18 '22 19:09

Eric Seidel