I am using an LG 3 Phone with Android 6.0 installed.
I created a link connection to my internal photo directory which is located at:
/storage/0123-4567/DCIM/Camera/filename_jpg
I have two files in my Camera directory and when I point the Android version of Syncthing to this directory, it does not find the two files. This is the default location for the default camera app that is loaded on my phone.
I have another camera app called OpenCamera. It uses:
/storage/emulated/0/DCIM/OpenCamera/
All jpg and video files located in this directory can be read by Syncthing. What is the problem here?
Assuming filename_jpg is the directory containing the 2 files you want to sync, you need to add a forward slash “/” at the end of the path as follows:
I want to sync all files within this folder so no filename is given in the path. As I’m sure you know, in the Android version you can only browse to folders that have already been created. You can not type in wildcards or file names.
@calmh In my experience, whether or not the user actually types the “/” at the end of the path, the Android app appears to add one anyway after the re-start - as seen in the “Folders” screen. Works either way. Maybe the trailing / is unnecessary - perhaps @Nutomic can clarify this.
@wweich When the OP referred to “internal”, I never considered SD was the location. Thanks
We don’t do anything with the path in syncthing-android, we only pass it to Syncthing. So unless Syncthing cares about the trailing slash, it shouldn’t make a difference.
In the above pic, I have created a new folder SlashTest, and as you can see, the path ends without a “/”. Then I saved and the St-Android app re-started.
After the app restart, I navigated to the “Folders” side of the screen, and the path now ends with a “/”.
I might be nitpicking … but it is somewhat confusing when the app adds an additional character (that I didn’t enter) to the end of the path. It’s unclear if the trailing slash is required or not.
There are cases when the slash is required (i.e., when the thing being named is something other than a normal directory). There are no cases where it hurts. So we add it when missing.