Posted: 2015-12-21 01:03
I'm using this line to sync from a local directory to a remote one via ssh:
winscp.com /log=sync.log /loglevel=0 /command "option transfer binary" "open sftp://username:firstname.lastname@example.org:22 -privatekey=key.ppk" "cd ~/backup" "lcd d:\" "synchronize remote -mirror -delete -preservetime" "exit"
and log file that I get in one sync is around 160MB. I've looked inside it and it's very detailed. Can I tell WinSCP not to be so detailed about the operation it performs?
I'm okay for one line per file that was copied. Something like the output that robocopy and 'rsync -av' output.
Location: Prague, Czechia
The WinSCP session log is for debugging, not for logging transfers.
Use XML log instead.
You can post new topics in this forum
And it's free!