I am currently managing a 3-way synchronization setup involving three devices:
- Device A: Linux Desktop
- Device B: Linux Desktop
- Device C: Android device running the Syncthing fork
The folder structure I am working with is as follows:
/event
│
├── /invitations
│ ├── guest_list.xlsx
│ ├── design.pdf
│ └── ...subfolders
│
├── /catering
│ ├── menu.pdf
│ ├── quotes.docx
│ └── ...subfolders
│
└── /logistics
├── venue_details.txt
├── schedule.docx
└── ...subfolders
...more folders
Currently, Devices A and B sync all folders and files, while Device C should only sync the /logistics folder along with its subfolders and files.
I prefer not to separate the /logistics folder into a distinct sync configuration for the Android device, as I may want to add the /catering subfolder in the future without creating a third sync setup. I also wish to maintain the functionality of the 3-way sync.
To achieve this, I have attempted various ignore patterns on the Android device, including:
*
!logistics
!logistics
*
!/logistics
*
!logistics
!logistics/**
*
…and so on
However, despite these configurations, only the /logistics folder and its subfolders are syncing—none of the files are included. Additionally, I have noticed that files containing “logistics” in their names from unrelated folders are being synced, which is not desired.
Could someone help on how I can successfully configure this sync to meet my requirements?