Topic "How synchronize files only from directory? Please help!"

Author Message
Vladimir

Guest


Hello, i have command


Code:


option batch on
option confirm off

open ....

synchronize both -criteria=size "C:\Web\home\cm\site\" "/var/www/site.co.il/public_html/"


it's work


but it's synchronize all files and folders


I need synchronize only php and html files, from this directoryes and ignore subdirectoryes



Please help!
Vladimir

Guest


Solution is fiond

It's

Code:

...

synchronize -filemask="|*/" ....
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24530
Location: Prague, Czechia
Correct. See http://winscp.net/eng/docs/faq_script_non_recursive
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