Using .stignore, some details needed

I have a directory xxx being synchronised. On system A there are just four files in the directory - file1, file2, file3 and file4. On system B there are many, many files in addition to file1, file2, file3 and file4. If I put .stignore in directory xxx on system A with the following entries:-


… and there’s no .stignore in directory xxx on system B what will happen? Will only file1, file2, file3 and file4 get copied?

That’s what I would expect. The system with the ignore patterns will only see those files on disk, and will ignore incoming updates for other files. The system without ignore patterns will see, scan, and announce all files to the other side and accept updates from it. The side with ignore patterns should look out of date to the other, as it’s missing a number of files.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.