Sync Multiple directories

Hello, I have multiple directories to be synced together following all same patter Example: /var/www/project/d1/public /var/www/project/d2/public /var/www/project/d3/public

Is there a way to sync all at once? like /var/www/project/*/public? I tried it but didn’t work for me

maybe this can help you: https://docs.syncthing.net/users/ignoring.html

1 Like

There is no way to create multiple Syncthing folders like that by pattern, no. You can maybe, like @uok is hinting at, share a higher level folder and ignore everything but public;

!*/public
*
1 Like

@uok and @calmh great thanks. Actually this doesn’t work in my case but I can use it in further cases.

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