Rclone on windows (to SSH) making excessive folders with \ on the root dir

command: rclone --log-level=INFO --log-file=c:\rclone\backup.log sync “c:\nas” name:test

Here is what the directories of the SFTP server look like: http://imgur.com/a/snTqZ

It makes a folder for every folder inside the sync. So (and i didnt run it long enough in that image to show all the folders) i eventually end up with like 5+ folders in the root dir of the server. It does not matter if i put the sync inside of test (like ssh:test/path/to/folder) it will ALWAYS dump these folders in the root of the ssh. Each folder is blank.

–dry-run does not indicate that rclone would even make these folders; it only ever mentions the actual folders it needs to make.

Any ideas as to what is happening?

I’ve tried the beta and this problem still persists :frowning:

Which NAS are you using? Can you put details on this issue please? https://github.com/ncw/rclone/issues/1432

Try the new freshly updated by @ncw version at:
https://github.com/ncw/rclone/issues/1432

Hope it solves your problems as well :slight_smile:

Looks like the beta has resolved this issue so far!

for reference, the remote ssh system was debian 8