Change file creation date to content created date using terminal
Using tools that are part of macOS, We start by getting the ContentCreationDate from the file and place it into a container ccd -
ccd=$(mdls -raw -n kMDItemContentCreationDate FILE)

Next, We format the ContentCreationDate string into a string usable by SetFile and place that into a container nct -
nct=$(date -f '%F %T %z' -j &quot;$ccd&quot; '+%D %T %z')

Finally, We use SetFile and set the FSCreationDate to the modified date/time string from ContentCreationDate -
SetFile -d &quot;$nct&quot; FILE

I'm assuming that you know how to place all of this into a loop for processing multiple files.
Note: Look into exiftool