Re: store the output of wget in a different directory
-----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 Pedersen writes:
>> wget -O /path/to/file url
>
>>From the man page:
>
> -O file
> --output-document=file
> The documents will not be written to the appropriate files, but all will be
> concatenated together and written to file.
But isn't that only if multiple wget operations are sent to the same
output file? (I know that -O works for me if they all have distinct
names.)
- -P does, though, seem to better fit his needs.
- --
Ron Johnson, Jr.
Jefferson LA USA
We want... a Shrubbery!!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFH7ZMfS9HxQb37XmcRAkAvAJ49fwjCZ2nWCXwa76j1Gn9e1/EYJwCfW2aM
+o3wCpAfnoB1FprO+csu8+0=
=IJgs
-----END PGP SIGNATURE-----
Reply to: