Remote control error with operations/copyfile

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?

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.

When you are right you are right.

Thank you very much. @ncw

1 Like