I was wanting to achieve the following, could you please enlighten me?
I'm wanting to sync local (target) directory with remote (source) directory. So:
 any files updated at remote should get downloaded to my local directory after the sync
 any files deleted at remote should get deleted in my local directory after the sync
 any files added at remote should get added to my local directory after the sync
At the moment, with the code below, I'm getting  and  from the list above.
option batch abort option confirm Off open sftp://username:password@server -hostkey="ssh-rsa 2048 mac-address" synchronize local local-directory remote-directory -filemask="|*.*_" exit
How do I achieve Future scenario #? I've read about using the
option, would that achieve the end result?
Potential update to the code?
synchronize local local-directory remote-directory -filemask="|*.*_" -delete