Remote control error with operations/copyfile


#1

Hi,

I’m trying to use the operations/copyfile method but no matter what I do I always receive the error: “is a file not a directory”

Here is the command:

rclone -vv rc operations/copyfile srcRemote=local: srcFs='/root/file-that-exists' dstRemote=crypt: dstFs='media/test/'

Ideas?


#2

It looks like you’ve ogot the srcRemote and srcFs parameters the wrong way round. The srcFs should be local: and the srcRemote should be /path/to/wherever, likewisee the dstRemote and dstFs.


#3

When you are right you are right.

Thank you very much. @ncw