Rclone Chunker's move command deletes local files if moved in place

Problem: Rclone's move command deletes files if moved to its own directory inside a chunker remote.

rclone v1.65.0

  • os/version: debian 12.1
  • os/kernel: 6.1.21+ (armv6l)
  • os/type: linux
  • os/arch: arm (ARMv6 compatible)
  • go/version: go1.21.4
  • go/linking: static
  • go/tags: none

The command

rclone move MyChunker:MyDirectory/MyFile MyChunker:MyDirectory

Result: The files of MyChunker:MyDirectory/MyFile are just deleted

Expectation: The operation completes without doing anything.

I guess this is because how rclone move first copies the files then deletes the original files.

This is what move does.... in rclone and in general. If you move something from place A to place B then it wont be any more in place A....

And feel free to correct me if I do not understand what you are talking about.

I suggest you present some example instead of description.

Sorry if I was vague but i think executing

rclone move ./a.ext .

should not delete a.ext

And it does not

$ rclone lsf .
a.txt

$ rclone move ./a.txt .

$ rclone lsf .
a.txt

If you think that there is some issue please provide example (like mine here). Your explanations are not clear at all.

This happens when running file through chunker remote.

For eg. my command in original post.

Provide example please. Ideally provide all info you are asked for in the template.

Otherwise I can not guess what the issue is.

Moved to ```rclone move chunker:dir/file chunker:dir``` deletes all file chunks

Thx! All clear there.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.