I’ve tried to find a way to override the ignore patterns that I’ve made so that files that already exist on the local device are always synced.
The example:
Devices: Server / Desktop / Laptop
Server & Desktop contains all documents. Laptop only contains 2 folders (and subdir).
Folder structure:
Documents
Tom
Tax
Harry
Tax
Car
Insurance
Work
Boring Project
So Laptop only contains the folders Tom & Work (and associated subdir - Tax & Boring Project). This is due to storage limitations on the laptop. Now whilst away on holiday when having to renew the car insurance a new file is made: “Car\Insurance\Quote.docx”
Current Ignore Rules:
!Tom
!Work
**
So existing ignore rules exclude all dir & subdir except Tom & Work (and subdir). I’m after a rule that would allow syncthing to recognise the Quote.docx file locally and sync that (send) to the server and desktop. Then if a change was made to the file on the server or desktop, that would propagate back to the laptop as it’s a pre-existing file on the laptop (receive). It would do this without having to manually specify in the ignore rules every single file, just that all local files in the target folder (in this case Documents) would be synced regardless of the ignore all pattern.
Alternatively any sufficiently straight-forward work around anyone has to this problem would be greatly appreciated.
I would love it to be as simple as:
!ExistingFiles
… but I’m a realist. Thanks in advance!