I am looking for a way to prepopulate my scratch org with some sample data. As part of this sample data, I need to also create few content version records(images).
But the sfdx force:data:tree:export
command returns version data as a link.
I also tried to store serialized version of contentversion records and insert them on new scratch org creation but it fails because of inconsistency in how apex serializes and deserializes base64 data.
Is there a recommended approach to handle this?