Open gyan002 opened 7 years ago
The fix will be to require that remote device paths be absolute. We should also specify the remote device platform in the config so that pathlib can format everything consistently. Will work on it once I have a Windows environment to test. https://github.com/classicsc/syncthingmanager/blob/411fd3d10df1a617559de496e5e1fdbd2eabb204/syncthingmanager/__init__.py#L332
I am running stman on my Windows 10 Laptop. I have a number of Linux devices. Using the Add folder feature to add a directory on the Linux devices doesn't take the proper path.
For example, if i run the below command: stman --device myhost folder add /develop/syncthing syncthing --label syncthing --foldertype readwrite --rescan-interval 10 On my Linux machine 'myhost' a folder will get added but the path it takes is C:\develop instead of /develop/syncthing