Windows > rclone > sync > root local drive to root local drive

Trying to do:

“path to rclone\rclone.exe” sync -v “E:” “F:”

this fails, what is the correct syntax?

I’m not sure, but I guess you need to inform like this:

path to rclone\rclone.exe” sync -v “E:/” “F:/”

What was the error message?

I think that will do it!

Sorry, tested… no luck.

Try

path to rclone\rclone.exe sync -v E:\ F:\

Note no " as the windows shell interprets " as an escape

It runs, but every file fails.

2018/04/10 18:37:22 INFO : Local file system at \?\F:: Modify window is 100ns
2018/04/10 18:37:22 ERROR : .livecd: Failed to copy: mkdir \?: The filename, directory name, or volume label syntax is incorrect.
2018/04/10 18:37:22 ERROR : syslinux/boot.cat: Failed to copy: mkdir \?: The filename, directory name, or volume label syntax is incorrect.
2018/04/10 18:37:22 ERROR : rescue/bootsplash.png: Failed to copy: mkdir \?: The filename, directory name, or volume label syntax is incorrect.
2018/04/10 18:37:22 ERROR : syslinux/cat.c32: Failed to copy: mkdir \?: The filename, directory name, or volume label syntax is incorrect.
2018/04/10 18:37:22 ERROR : rescue/livecd.squashfs: Failed to copy: mkdir \?: The filename, directory name, or volume label syntax is incorrect.
2018/04/10 18:37:22 ERROR : syslinux/isohdpfx.bin: Failed to copy: mkdir \?: The filename, directory name, or volume label syntax is incorrect.
2018/04/10 18:37:22 ERROR : syslinux/chain.c32: Failed to copy: mkdir \?: The filename, directory name, or volume label syntax is incorrect.
2018/04/10 18:37:22 ERROR : grubx64.efi: Failed to copy: mkdir \?: The filename, directory name, or volume label syntax is incorrect.
2018/04/10 18:37:22 ERROR : syslinux/ldlinux.c32: Failed to copy: mkdir \?: The filename, directory name, or volume lab

Thanks for the log. That error message makes me think this is this issue: https://github.com/ncw/rclone/issues/1754

On that page you’ll find a binary you can try - can you see if that fixes the problem?

Thanks

The new binary resolved the issue.

Indeed correct syntax is:

…rclone.exe" sync -v E:\ F:\

Excellent - thanks for testing. That won’t be in the official rclone until go1.11 is released which will be some time in the summer. If you need a new rclone compiled just ping me on the issue and I’ll compile one!

1 Like