Topic "running a script to sync. directories"

Author Message
john742

Guest


Is there a way to only sync a specific file type in a directory ? Example: only sync .log files when multiple other file types are present?
Advertisements
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
option include "*.log"
If you want to synchronize also .log files in subdirectories you must allow WinSCP to enter them by adding mask "*/":
option include "*.log; */"
_________________
Martin Prikryl
john742

Guest


prikryl wrote:
option include "*.log"
If you want to synchronize also .log files in subdirectories you must allow WinSCP to enter them by adding mask "*/":
option include "*.log; */"



Great!!! That is exactly what I needed. Is there as place ot find this info?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 25015
Location: Prague, Czechia
john742 wrote:
Great!!! That is exactly what I needed. Is there as place ot find this info?

For info about exclude/include mask refer to transfer setting documentation.
For info about "option" command type "help option" in WinSCP console.
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