[EMAIL PROTECTED] wrote:
> 
> hiya!
> 
> i'd like to have wget forking into background as default
> (via .wgetrc) but sometimes, eg. in shell scripts, i need
> wget to stay in foreground, so the script knows when the
> file is completely downloaded (well, after wget exits =)
> is it possible to implement such a feature?
> thanks in advance, wget rocks!
> 
> greets, alex

you can get wget running in background by adding `&' at the end, i.e.

wget http://somewhere/file.txt &

if you don't add `&' wget will run in foreground, then you still
can `ctrl+z' and `bg' to send it to background or simply close the
terminal in which wget is running (it will also send wget in background
and even will send all messages to `wget-log' log file)...

well, all this is written somewhere in the docs I'm sure :)

P! Vladi.
-- 
Vladi Belperchinov-Shabanski <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Personal home page at http://www.biscom.net/~cade
DataMax Ltd. http://www.datamax.bg
Too many hopes and dreams won't see the light...

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to