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

Re: store the output of wget in a different directory



-----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
> 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?

- --output-document=file

- --
Ron Johnson, Jr.
Jefferson LA  USA

We want... a Shrubbery!!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFH7XfiS9HxQb37XmcRAs3JAJwMETKWWkwh0wW+l3tg+3FbnMa3CgCfZdjt
QVdiwzH7/N1z6K4lN/vNj64=
=j6wP
-----END PGP SIGNATURE-----


Reply to: