Topic "synchronize -delete doesn't work"

Author Message
Giselle

Guest


I'm trying to synchronize local and remote dirs with the delete option, but it doesn't work.

My script:

Code:
option confirm off
option transfer automatic 
open user:pass@host/home/user/work/mywork/
option exclude ".svn; *.svn*; *\.svn\*"
option exclude *.svn.*
option exclude *.svn
option exclude *.htaccess
option exclude *.*-base
synchronize local C:\work\workspace\myproject\ /home/user/work/mywork/
close
exit
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24512
Location: Prague, Czechia
What does it do?

Also note that multiple exclude commands do not work. You have to assemble all the masks into one.
_________________
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