-   Linux - Desktop (
-   -   wget (

friskydrifter 09-08-2006 02:02 AM

Dont know if this is the right place to ask this question but by problem is i'm trying to download a file from a http site but the file name changes only the extention stays the same - lets say the extention is ghj for example.

so effectively i want something like this (but it doesn't work) any ideas?


I need this in CLI too as there is no GUI

gilead 09-08-2006 02:21 AM

Does this work?

wget -r -l1 --no-parent -A.ghj

zeitounator 09-08-2006 02:26 AM

Have a look at the --accept and/or --reject options to wget in the man page. Something like this should do it:

wget -r -l 0 --accept *.ghj

friskydrifter 09-10-2006 06:44 PM

Thanks guys - both options work :)

All times are GMT -5. The time now is 09:51 AM.