where does wget put its file

Stuart Sears stuart at sjsears.com
Wed Dec 29 09:24:01 UTC 2004


On Wednesday 29 December 2004 09:16, david wrote:
> hi all
> where does wget put the files it downloads by default
> finally found a program to download 64bit man10.0 and i cant find the
> files its downloading, i hope
> i see the activity on the router but cant find anything on the drive
> thanks for the help
> as always
> david
usually into a subdirectory of your current dir.
if you download using
wget http://foobar.com/software/rpm/foobar-3.1.2-4.i386.rpm

it will create
foobar.com/software/rpm/foobar-3.1.2-4.i386.rpm

if you don't want it to do this, but to put the file in you local directory 
directly, try

wget -nH -nd http://foobar.com/software/rpm/foobar-3.1.2-4.i386.rpm

this is not a good idea for recursive (ie multi-file/directory) downloads.
for those read man wget and check out the --cut-dirs option

Stuart
	
-- 
Stuart Sears RHCE, RHCX
Paranoia is heightened awareness.




More information about the fedora-list mailing list