I am trying to sync WhatsApp files from Android phone to Windows desktop as backup. WhatsApp for some reason seems to create some files with no extension part. This cannot be handled by Windows so Synthing prevents those files from syncing.
I want to Syncthing to completely ignore any such file with no extension name.
Setting up .stignore in the same directory with *. as matching pattern did not work as Syncthing continued to say that there are failing file transfers.
I’m not sure if it’s the best approach, but you may be able to do it as follows:
include all files with an extension, and ignore everything else. That would lead to the (odd-looking) pattern;
[2MIQY] 2023/10/27 01:00:10 INFO: Puller (folder "Moto G84 WhatsApp" (2zx9k-jhkx6), item "WhatsApp\\Media\\WhatsApp Documents\\Sent\\Doc."): syncing: name is invalid, must not end in space or period on Windows
For now putting the *. in the topmost directory level’s .stignore file seems to work as intended. Previously I was putting it in the specific subdirectory which might have been the mistake on my part.
I was only syncing one way between the phone to desktop.
There is only one .stignore file, at the top level of each folder that is configured for synchronization in Syncthing. You cannot, like with other tools, put additional ignore files in arbitrary subdirectories. They are simply disregarded.