I have a single big local file in a folder, /folder/bigfile.dat,
I have synced that folder to a remote, rclone sync /folder REMOTE:folder,
I would like to rename that file, without re-transfering it.
I know I could invoke something like rclone moveto REMOTE:folder/bigfile.dat REMOTE:folder/newname.dat
but this has the disadvantage that it needs to be done manually.
instead, I am wondering whether there is a way to instruct rclone to do this automatically when using sync. e.g.: rclone sync /folder REMOTE:folder sees that the SAME file has been renamed, and it renames it for me.
that's a great suggestion to avoid exploding length of command-line parameters!
... but, would that influence in any way the fact that the remotes underlying the union might not all have hash or modtime support?
at least, that's what I believe is happening, maybe due to Mega being encrypted even independently of my crypt layer?
Its failing because union doesn't support it. I don''t think its possible to specify these types of global flags (yet) for a a remote through the union. I was hoping we could set the default via the environment variable and that would be picked up by the backends but I'm not really sure.
@Max-Sum is there any way to pass these global flags to be used by the backends such as this?
EDIT: The above is incorrect. Its failing because mega doesn't support modtimes.
from what I could gather, it depends on the nature of the remotes underlying the union/crypt.
which ones are you using?
I'm using a union of Box and Mega, and I think the latter is the one at fault for missing features.