I have main folder A on my computer is sync with folder B on NAS. It work perfect.
Now I want sync folder A with folder C on NAS but only have video file avi on folder A.
If I make new folder task on syncthing with same direction to folder A and it warning: Warning, this path is a subdirectory of an existing folder."
Ánd it seem have conflict between them. It have override change on my computer and Revert local change on NAs
Any idea how to fix that. Thanks
You can’t have different ignore patterns for the same physical directory, since the ignore patterns are stored in the directory, unfortunately. As for the override etc that’s unclear to me, perhaps screenshots of the actual setup would clarify.
I want to sync just some files ( .mp4, .html,.avi ) from PC ( with multi diffrent kind of files) to NAS folder
Here are ignore patterns I added to NAS side.
**@eaDir
(?d)@eaDir/**
!*.mp4
!*.html
!*.avi
**
Due to NAS create @eaDir folder which contain file ‘.avi’ or other extentions it create so that on NAS side have file in folder @eaDir which on PC don’t have.
So that, on NAS side it display ‘Revert Local Changes’ with items as below
In that case, ignore patterns won’t remove the “Revert Local Changes” error because the @eaDir directory exists on the NAS but not the PC, causing the NAS side to differ from the PC side.
Because the NAS side is set to “Receive Only” any local changes on the NAS side get flagged as a warning. If you ignore the warning other files will continue to sync but the warning will continue to be displayed.
I know that. On other Jobs Sync I add ignore patterns as below to exclude this folder from sync
**@eaDir
(?d)@eaDir/**
But the Jobs VIDEO+PLAN I want to include .avi file but on @eaDir folder also have this extension so that I think it add this file to include sync list instead of exclude it folder and all file in subfolder.
Thanks for your reply. I Think I have to ignore the errors. The sync stil work well but It not display Up to date so that sometime make me disturb and have to check if I make any wrong
As you suggest, I try to change NAS side to Send & Receive and on PC side still Send only. It fix “Revert Local Changes” and change Up-to-date.
I don’t know why
The PC has everything it needs, and it wants nothing from the NAS, so it is up-to-date relative to the NAS.
The NAS is still receiving changes from the PC, so the NAS has all that the PC has (that has not been ignored) and does not need to send changes back to the PC, so the NAS is also up-to-date.
Today, I found out problem.
If I remove folder and file in PC side, on NAS side it just remove file ( ex: *.avi) inside folder without delele both of them.
I add folder and file in PC side it still working well on NAS side.
Both PC and NAS sides display Up to date
Do you know why this happening ?
Here are ignore patterns on NAS side ( still Send and Received mode on NAS side and Only Send on PC side)