[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: where does wget put its file



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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]