where does wget put its file
Patrick Boutilier
boutilpj at ednet.ns.ca
Wed Dec 29 10:56:33 UTC 2004
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
>
More information about the fedora-list
mailing list