On Fri, Feb 8, 2013 at 12:21 PM, Miguel Angel Robledo
marobl...@santafe.gov.ar wrote:
I need to reduce the size of certain items. I know the command ghostscript
reduce the size of certain pdfs , but if I do this directly in the
filesystem then i will have problem with the checksum control.
Anyone have any suggestions about how can I fix this?
Hi Miguel,
the checksums are not really used at this time for anything else than
the checksum checker ([dspace]/bin/dspace checker), so you could
simply ignore that.
But you could also update them in the database. The algorithm is md5,
so you can run md5sum on the file and update the result in the
checksum column of the bitstream table. It should be easy because
you can look up the row by the file name, which is stored in the
internal_id column. So it would work like in the following example
(for each file):
UPDATE bitstream
SET checksum = 'efa087dc65899242bae4ecda7ae33e04'
WHERE internal_id = '132179613084212233373659715100737882009';
Regards,
~~helix84
Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
--
Free Next-Gen Firewall Hardware Offer
Buy your Sophos next-gen firewall before the end March 2013
and get the hardware for free! Learn more.
http://p.sf.net/sfu/sophos-d2d-feb
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette