Log only output of synchronization job

Advertisement

WouterT
Guest

Log only output of synchronization job

Hi all,

Is it possible to only log the output of the sync command.

I'm running:
synchronize REMOTE -mirror -delete "c:\temp" /home/wouter/Temp

And I only want the output of this command stored in a log file, so I can use it again in an email script.
So I only want to know what's been modified (del/copy etc) in the transfer, below is the part I need.

Comparing...
Local 'c:\temp\2' => Remote '/home/wouter/Temp/2'
Synchronizing...
Local 'c:\temp' => Remote '/home/wouter/Temp'
'/home/wouter/Temp/log.txt' deleted
winscp>    

The /log with winscp.exe gives me way to much info.

Anyone who can point me in the right direction.

Thanks!
Wouter

Reply with quote

Advertisement

thibeau
Guest

solution

hi, looking to do the same thing, just so I don't have to re-invent the wheel can you post your solution?

Reply with quote

Advertisement

You can post new topics in this forum