com.piyushgarg.rclone icon indicating copy to clipboard operation
com.piyushgarg.rclone copied to clipboard

No option to specify path in SFTP

Open asimoneo opened this issue 5 years ago • 3 comments

It is quite hard to specify some custom path in sftp mounting, because rclone implements rclone mount sharename:/path/to/folder/to/be/mounted /local/path/for/mounting/to so we can't basically choose anything apart from home folder of ssh user, which is kinda limiting.

asimoneo avatar Sep 04 '19 17:09 asimoneo

Same thing here too. I can view root filesystem from terminal but not from total commander that defaults (and shows as root path) the connecting user's home dir.

diggy128 avatar Nov 01 '19 22:11 diggy128

This should not be hard to implement. In service.sh, the rclone mount command has ${remote}: (no path specified). This should be added in the custom params file and added as a variable in the command so the command looks something like ${remote}:${SUBPATH}. If I get some time I will create a pull request for this.

jasonsyoung avatar Dec 04 '19 09:12 jasonsyoung

I went ahead and created the pull request. You can install my branch by downloading the master.zip of the repo and installing it in Magisk until/if ever it gets merged.

https://github.com/Magisk-Modules-Repo/com.piyushgarg.rclone/pull/44

jasonsyoung avatar Dec 04 '19 10:12 jasonsyoung