Re: where does wget put its file

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

 



Stuart Sears wrote:
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

Not by default it won't. The file foobar-3.1.2-4.i386.rpm will be saved in the current directory.



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
	


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux