I have remote1 and remote2 on two different GSuite accounts
I'm migrating all the users and drive files from remote1 to remote2
In order for me to restore the permissions via API i need a quick and efficient way to match the source file with the destination file.
Can't rely on modifying dates and name is too common.
I was able to update all the files in remote1 with their respective ID, the idea is that if the description transfers over using RClone then I can have a unique identifier for each one and i can cross reference the description with the old ID to know exactly which file it is and then I can apply the permissions applicable that I've downloaded from the source (I don't know how clear that is).
Using RClone 1.51 on Windows 10 64bits
I found this existing post which stopped at @ncw asking the user what purpose that would serve but it's so old i don't want to revive it.
I will def try that, but i would need a couple of information from you if you can help.
I'm not a programmer/scripter but i'll give it a try
Can you tell me:
What language is rclone based on (i'm guessing C since it's based on Rsync, but i'm not sure)?
in which file do I add that line of code (I checked in backend/drive/drive.go) but i don't see that block of code in there to add that line), so i'm guessing I have the wrong file?
What we do is a server side copy, so we say copy this object from here to here. When we do that with files the description copies too. When we do that with gdocs the description doesn't! We could potentially set the description for gdocs after the copy to work around this.
It worked, it copied over the description for Google native files, thank you,
I have one last question, I noticed that every time i run the sync command it duplicates all google files, files which are not google native get skipped over and it recognizes that the file already there, but files which are google native it's as if it's unable to recognize that it exists and creates doubles, triples, etc...
is there a flag that can be used that will make it check the file before it creates a new copy?
The destination is a shared folder, but not the source, is there a reason why it does that? Maybe by understanding the logic I can work around it.
The reason I do it this way is because if I use for destination a remote that is not the same impersonated user, it skips over some files files with error "file not found" (and it seems to be the GSuite files that it skips)
ERROR : Dir/Userlistfil.xlsx: Failed to copy: googleapi: Error 404: File not found: 1JOUoO_Xm8GaO5qS_fljbwaryDFAXmdo3ZrYNScAy7ew., notFound
ERROR : Goldy.xlsx: Failed to copy: googleapi: Error 404: File not found: 1fi7OG4wpCbHyUPOszfH0OieVtfFysdED-SsVm7_M81k., notFound
Both of these files are native sheets not xlsx files.