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.

Options
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)

Options

Topic review

Arek

Excluding all instances of the same directory

Hi,

I have a simple script that synchronizes remote SFTP with local backup every night.
synchronize local -filemask="|Upload/"

is added to skip downloading Upload directory.

Now I need to add another one exclusion, which will skip all instances of directory Starsze wersje
part of directory tree looks like this:
/serwis/instalki/app1/3.1.4/

/serwis/instalki/app1/Starsze wersje/
/serwis/instalki/app2/3.1.4/
/serwis/instalki/app2/Starsze wersje/
/serwis/instalki/app3/3.1.4/
/serwis/instalki/app3/Starsze wersje/

When I`ve added synchronize local -filemask="|Upload/; |*/Starsze wersje/" to filemask it doesn't work, winscp.com stops with invalid filemask option in |*/Starsze wersje/.
How can I correctly exclude all instances of Starsze wersje from synchronization?