MarcusBarnes / mik

The Move to Islandora Kit is an extensible PHP command-line tool for converting source content and metadata into packages suitable for importing into Islandora (or other digital repository and preservations systems).
GNU General Public License v3.0
34 stars 11 forks source link

Document solution for renaming misnamed JPG datastreams #456

Open mjordan opened 6 years ago

mjordan commented 6 years ago

We should document a solution to the problem caused by #452. Datastream CRUD is capable of doing this. Maybe a good Cookbook entry?

MarcusBarnes commented 6 years ago

Good idea. Would someone be able to confirm what happens if you try regenerating the misnamed JPEG datastream? Does it stay JPEG or does it become JPG? (I'm assuming that it stays JPEG, if not, there could be a solution that involves batch derivative regeneration.)

mjordan commented 6 years ago

@MarcusBarnes We've got about 900,000 JPEG datastreams, so I'll check this. Checking one of the 900,000 or page objects we migrated from CONTENTdm, I notice that the JPEG datastream doesn't have a 'regenerate' link:

jpeg

like the properly named JPG datastream does:

jpg

My plan is to use Datastream CRUD to download the JPEG, then upload the same files as JPG, then delete the JPEG.

MarcusBarnes commented 6 years ago

Thank you for confirming.

mjordan commented 6 years ago

How about documenting how to change a DSID in the CRUD README, and then in the MIK cookbook entry, point out that documentation and contextualize it for the JPEG/JPG issue?