I have some small place-keeper files (ContentDocument/ContentVersion) loaded by some existing code but want to replace the content with the actual PDF/Video data. This is to pre-load scratch orgs with some standard data that totals maybe 50 Mbytes spread across 20 files.
Does anyone have that working using e.g.:
sfdx force:data:bulk:upsert
with the binary data as base 64 in the CSV or the JSON equivalent? Or is there a better mechanism to use for this task of updating Salesforce Files?
PS
Just read in the Bulk API Developer Guide that:
Currently base64 fields are not supported in queries with the Bulk API.
Does that suggest base64 does work in updates?