Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)


Topic review


Excluding folder in synchronize command

Hello. I would like to make exclude for synchronizing node_modules folder.
Even after reading docs and other posts for 30 minutes I still can't get it why my code doesn't work properly. Here's the code:
option batch abort
option confirm off
open sftp://root:password@***.***.**.*** -hostkey="ssh-rsa 2048 ************************"
synchronize -filemask="|node_modules" remote C:\Users\***\OneDrive\Desktop\bot /root/bot