Change the file name

I am using the copy command to transfer an entire directory from source to target. I would like to have the ability to change individual filenames, using the --metadata-mapper facility. I am currently using that to modify permissions. Unfortunately the "Metadata" property in the json given to my mapper program does not include a "name" sub-property. Any chance there is some way to do this that I missed? Seems like it would be a simple feature to add.

The specific use case is a situation where a legal filename in Google is not legal in M365. So that file transfer just fails.

hi, maybe Restricted filenames