Sorry I'm coming to this very late.
While the deleting function will help you now, you can disable
versioning on your TN datastream so you don't create any new versions.
I think this is configurable in islandora_checksum, but if not I know it
is in Fedora.
cheers,
jared
On 2019-06-04 3:15 p.m., Patrick Dunlavey wrote:
> I created a PR to add a versions option to the
> islandora_datastream_crud_delete_datastreams command. Would love to have
> some folks test and comment!
>
>
https://github.com/SFULibrary/islandora_datastream_crud/pull/77
>
> On Friday, April 6, 2018 at 2:27:01 PM UTC-4, Aaron Krebeck wrote:
>
> Thanks, Mark.
>
> On Friday, April 6, 2018 at 2:04:18 PM UTC-4, Mark Jordan wrote:
>
> I've opened a placeholder issue:
>
https://github.com/SFULibrary/islandora_datastream_crud/issues/53 <
https://github.com/SFULibrary/islandora_datastream_crud/issues/53>
> <
https://groups.google.com/d/msg/islandora/q1udVKoh194/LELtH89uCAAJ>).
> I'll look into the problem and have a fix by end
> of the weekend at the latest. It would be
> helpful if you could include in the issue:
>
> 1) the exact command you ran that resulted in
> the extra MODS.xml datastreams (the command
> below includes --datastreams_mimetype=image/jpeg
> so I assume that's not the one you ran),
> 2) some sample filenames for the MODS
> datastreams you pushed, and
> 3) the git commit hash your copy is at.
>
> You can recover from this push by deleting the
> unwanted MODS.xml datastreams, but you'll need a
> list of the affected PIDs. I can walk you
> through that in the issue comments if you'd like.
>
> Mark
>
> ------------------------------------------------------------------------
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/MODS/view>
> MODS Datastream *M*anaged application/xml
> 1.67 KiB 5
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/MODS/version>
> replace
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/MODS/replace>
> download
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/MODS/download>
> edit
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/MODS/edit>
> delete
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/MODS/delete>
>
> DC
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/DC/view>
> DC Record *M*anaged application/xml 1.21
> KiB 1
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/DC/version>
> replace
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/DC/replace>
> download
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/DC/download>
> regenerate
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/DC/regenerate>
> ARCHIVAL0
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/ARCHIVAL0/view>
> manifest.json *M*anaged application/json
> 145 B 1
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/ARCHIVAL0/version>
> replace
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/ARCHIVAL0/replace>
> download
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/ARCHIVAL0/download>
> delete
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/ARCHIVAL0/delete>
>
> OBJ
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/OBJ/view>
> JCSL_4166.tif *M*anaged image/tiff 22.36
> MiB 1
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/OBJ/version>
> replace
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/OBJ/replace>
> download
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/OBJ/download>
> delete
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/OBJ/delete>
>
> ARCHIVAL1
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/ARCHIVAL1/view>
> dublin_core.xml *M*anaged application/xml
> 1.65 KiB 1
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/ARCHIVAL1/version>
> replace
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/ARCHIVAL1/replace>
> download
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/ARCHIVAL1/download>
> delete
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/ARCHIVAL1/delete>
>
> TECHMD
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/TECHMD/view>
> TECHMD *M*anaged application/xml 8.38 KiB 1
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/TECHMD/version>
> replace
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/TECHMD/replace>
> download
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/TECHMD/download>
> delete
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/TECHMD/delete>
> regenerate
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/TECHMD/regenerate>
> TN
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/TN/view>
> Thumbnail *M*anaged image/jpeg 29.34 KiB 1
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/TN/version>
> replace
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/TN/replace>
> download
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/TN/download>
> delete
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/TN/delete>
> regenerate
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/TN/regenerate>
> JPG
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/JPG/view>
> Medium sized JPEG *M*anaged image/jpeg
> 56.96 KiB 1
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/JPG/version>
> replace
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/JPG/replace>
> download
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/JPG/download>
> delete
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/JPG/delete>
> regenerate
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/JPG/regenerate>
> JP2
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/JP2/view>
> JPEG 2000 *M*anaged image/jp2 477.45 KiB 1
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/JP2/version>
> replace
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/JP2/replace>
> download
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/JP2/download>
> delete
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/JP2/delete>
> regenerate
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/JP2/regenerate>
> POLICY
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/POLICY/view>
> XACML Policy Stream Inline *X*ML text/xml
> 3.73 KiB 1
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/POLICY/version>
> replace
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/POLICY/replace>
> download
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/POLICY/download>
> delete
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/POLICY/delete>
>
> MODS.xml
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/MODS.xml/view>
> *M*anaged text/xml 1.71 KiB 1
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/MODS.xml/version>
> replace
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/MODS.xml/replace>
> download
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/MODS.xml/download>
> delete
> <
http://auislandora-stage.wrlc.org/islandora/object/auislandora%3A12243/datastream/MODS.xml/delete>
>
>
>
>
> On Monday, March 28, 2016 at 6:37:38 PM
> UTC-4, Mark Jordan wrote:
>
> Hello Islandora community,
>
> A number of tools exist to perform batch
> operations on Islandora datastreams
> (some of them mentioned in this thread
> I'd like to announce another such tool
> that I've recently written, Islandora
> Datastream CRUD
> <
https://github.com/mjordan/islandora_datastream_crud>.
> <
https://groups.google.com/d/msgid/islandora-dev/55f54e28-61c3-4881-bcd0-8f4c53b0baab%40googlegroups.com?utm_medium=email&utm_source=footer>.
> <
https://groups.google.com/d/optout>.
> <
https://groups.google.com/group/islandora>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/islandora/9937bf5a-8deb-4d19-a2e2-bb161c4fa3f4%40googlegroups.com
> <
https://groups.google.com/d/msgid/islandora/9937bf5a-8deb-4d19-a2e2-bb161c4fa3f4%40googlegroups.com?utm_medium=email&utm_source=footer>.
> <
https://groups.google.com/d/optout>.
> <
https://groups.google.com/group/islandora>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/islandora/397458115.340863571.1523037288291.JavaMail.zimbra%40sfu.ca
> <
https://groups.google.com/d/msgid/islandora/397458115.340863571.1523037288291.JavaMail.zimbra%40sfu.ca?utm_medium=email&utm_source=footer>.
> <
https://groups.google.com/d/optout>.
> <mailto:
islandora+...@googlegroups.com>.
>
https://groups.google.com/d/msgid/islandora/1935c275-2ca6-4381-a8e1-25d54c66e6b8%40googlegroups.com
> <
https://groups.google.com/d/msgid/islandora/1935c275-2ca6-4381-a8e1-25d54c66e6b8%40googlegroups.com?utm_medium=email&utm_source=footer>.
Jared Whiklo
Pronouns: he/him/his
jwh...@gmail.com
--------------------------------------------------
You know you're from Winnipeg when...Your grandparents drive at 100 km/h
through four meters of snow during a blizzard, without flinching.