Il Mer, 18 Maggio 2011 8:34 am, [email protected] ha scritto:
> rsync | tee $(tty) | mail

... o viceversa...

rsync | tee >(mail)

...in questo secondo modo la tee manda alla mail e il resto rimane su
stdout, quindi funziona anche se non sei su un terminale (ma magari stai
mandando l'output via CGI su una pagina web...). PerĂ² questo credo
funzioni solo in bash.

-- 
http://bodrato.it/papers/


-- 
Per REVOCARE l'iscrizione alla lista, inviare un email a 
[email protected] con oggetto "unsubscribe". Per
problemi inviare un email in INGLESE a [email protected]

To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/[email protected]

Rispondere a