So I have a shared folder between two computers where one is computer is “Send only” (PC A) and the other is “Receive only” (PC B). On PC A I can see in the “Remote Devices” list that PC B has a bunch of files/directories out of sync. I read somewhere that touching these files “touch -c /mnt/driveA/file-out-of-sync” could help with this. So I touched all of the files I found that were out of sync. This worked great, I didn’t have to transfer the files again (they are big), they just sort of worked themselves out by comparing hashes again or something?
Now, my current issue is that there were some directories in the list of out-of-sync items as well. I tried touching the directories as well with the same command but while the date does change in the filesystem (as shown by ls), syncthing doesn’t seem to detect and resync these.
In syncthing, the touched directories still show up with: Path, Size, Mod. Time, Mod. Device dirA, 128B, 2017-07-21 00:59:26,
But this specific directory when ls:ed, shows Jan 4th 2021.
I’ve tried to resync the folders in syncthing but it doesn’t help. Both computers are running Debian 10 and any new files I add are transferred without issues. Both harddrives in both computers are ext4 formatted.
The only setting that is changed on the folder is the “Send Only” and “Receive Only” settings. No ignore patterns etc.
What can I do to fix this?