mirror of
https://github.com/alanorth/cgspace-notes.git
synced 2025-01-27 05:49:12 +01:00
Add notes for 2020-08-07
This commit is contained in:
@ -201,6 +201,12 @@ on_id=[A-Z0-9]{32}' | sort | uniq | wc -l
|
||||
- I developed a small Java class called `FixJpgJpgThumbnails` to remove ".jpg.jpg" thumbnails from the `THUMBNAIL` bundle and replace them with their originals from the `ORIGINAL` bundle
|
||||
- The code is based on [RemovePNGThumbnailsForPDFs.java](https://github.com/UoW-IRRs/DSpace-Scripts/blob/master/src/main/java/nz/ac/waikato/its/irr/scripts/RemovePNGThumbnailsForPDFs.java) by Andrea Schweer
|
||||
- I incorporated it into my dspace-curation-tasks repository, then renamed it to [cgspace-java-helpers](https://github.com/ilri/cgspace-java-helpers)
|
||||
- In testing I found that I can replace ~3,500 thumbnails on CGSpace!
|
||||
- In testing I found that I can replace ~4,000 thumbnails on CGSpace!
|
||||
|
||||
## 2020-08-07
|
||||
|
||||
- I improved the `RemovePNGThumbnailsForPDFs.java` a bit more to exclude infographics and original bitstreams larger than 100KiB
|
||||
- I ran it on CGSpace and it cleaned up 3,769 thumbnails!
|
||||
- Afterwards I ran `dspace cleanup -v` to remove the deleted thumbnails
|
||||
|
||||
<!-- vim: set sw=2 ts=2: -->
|
||||
|
Reference in New Issue
Block a user