Hello,
I want to log sftp get command output:
Code:
sftp> get file3
Fetching /home/user1/file3 to file3
/home/user1/file3 100% 19 0.0KB/s 00:00
sftp>
If I do it with redirect operator I get:
Code:
sftp -b ./commands1 vldebitc100 >> kk.log
$
$ cat kk.log
sftp> get file3
Fetching /home/aixcronb/file3 to file3
sftp> quit
As you can see that second get command output line(which includes some statistics) is gone.
Any way to include that statistics line into my log ?
thanks
Vilius