[MASOCH-L] redrecionamento scp

Zhu Sha Zang zhushazang at yahoo.com.br
Tue Jun 12 17:33:44 BRT 2012


Usando bash, como posso redirecionar os "acontecimentos" do scp para um 
arquivo? 

Tentei das seguintes maneiras 

scp user at host:~/local/arquivo arquivo > out 
scp user at host:~/local/arquivo arquivo 2> out 
scp user at host:~/local/arquivo arquivo 2>&1 > out 
scp user at host:~/local/arquivo arquivo > out > 2>&1 

Ou simplesmente, a saída seja redirecionada para o formail como é feito 
no redirecionamento do pflogsumm. 

scp user at host:~/local/arquivo arquivo | formail -c -I"...." | mail 
meuemail at meudominio 


Meus sinceros agradescimentos. 
 
zzzzzzzZhu Sha Zanggggggg
While you come with the wheat I come back with the cake 



More information about the masoch-l mailing list