Topic "Synchronise transfer with include mask"

Author Message
samdutton
[View user's profile]

Joined: 2007-04-04
Posts: 1
Location: London, England
I'm using WinSCP 382 build 330 on Windows XP.

I want to synchronise using an include mask, only transferring updated files in certain directories (*.css and *.tt files in my foo and footest directories).

I've tried various combinations for include masks, but can't seem to get the result I want. When I select Synchronise... with Preview changes selected, I would expect to see only updated files in the Synchronisation checklist -- the list of directories and files there doesn't make sense to me.

I've tried the following include masks:
*/;*.css;*.tt;
*/foo/*.*;*/footest/*.*;
C:\src\contentserver\foo\*.*

Thanks for WinSCP, by the way, we love it.

Sam Dutton
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25034
Location: Prague, Czechia
If foo and test does not have subdirectories, then mask is:
*/foo/;*/foo/*.css;*/foo/*.tt;*/footest/;*/footest/*.css;*/footest/*.tt
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License