Don't Synchronize same files

Advertisement

markushel
Joined:
Posts:
1

Don't Synchronize same files

Hi!

I have a problem with synchronize.

I want to sync from a sftp-server to local dir. The problem i have is that i need to remove the files from my local dir. I then dont want to get the same files again from the server when i sync again.

Solution with rsync:

create a exclude-list
use option exlude-file with rsync
update exlude-list

A file like this can be created with dir /B /w > exlude.txt but could i use that in winscp?

Is there another solution in windows?

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
41,454
Location:
Prague, Czechia

Re: Don't Synchronize same files

markushel wrote:

A file like this can be created with dir /B /w > exlude.txt but could i use that in winscp?
Not directly. You would have to convert the list into "option exclude <masks>" command.

Reply with quote

Advertisement

You can post new topics in this forum