Re: store the output of wget in a different directory

2008-03-28 Thread Kamaraju S Kusumanchi
John Hasler wrote: > raju writes: >> 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. > >>From the man page: > > -P prefix > --directory-prefix=prefix > Set direct

Re: store the output of wget in a different directory

2008-03-28 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/28/08 18:28, John Hasler wrote: > 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. > > Magnus Peders

Re: store the output of wget in a different directory

2008-03-28 Thread John Hasler
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. Magnus Pedersen writes: > wget -O /path/to/file url >From the man page: -O file --output-document=file The do

Re: store the output of wget in a different directory

2008-03-28 Thread John Hasler
raju writes: > 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. >From the man page: -P prefix --directory-prefix=prefix Set directory prefix to prefix. The directory prefix is the directory

Re: store the output of wget in a different directory

2008-03-28 Thread Magnus Pedersen
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

Re: store the output of wget in a different directory

2008-03-28 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 03/28/08 17:45, 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 > w

store the output of wget in a different directory

2008-03-28 Thread Kamaraju S Kusumanchi
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