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

Re: store the output of wget in a different directory



Kamaraju S Kusumanchi wrote:
I am wondering if it is possible to store the output of wget in a different
directory than the current directory in one single command.
Say I am in dir1. Instead of doing
wget http://url1
mv url1 dir2

Is there any way to achieve it in one shot? I looked at the man page of wget
but did not see any such option. Such a thing does not exist or am I
missing something trivial?

raju


wget -O /path/to/file url

/Magnus


Reply to: