curl - Download file using regex in wget -


i have files @ remote location, name looks like:

ranjans-vra_test1-standalone-6ff194f94-0.vracafe.0-nimbus-vra-deploy-result.json 

the unique words can test1 vracafe , nimbus-vra-deploy-result.json . trying download file using wget command:

wget -r http://url/ranjans/testbeds/vra/testbeds/.*test1.*vracafe.*nimbus-vra-deploy-result.json -o /usr/nimbus/testbeds/vra/vra.json 

i getting 404 error. modification should in command?

there's no way of achieving wget command, since can't download entire internet wget *.*.

if know name of files can paste them urls.txt file:

http://url/foo/bar.json http://url/foo/baz.json 

then call wget -i urls.txt


Comments