Hi Tony, I usually do this with a SQL query (for DSpace 5 or 6, on PostgreSQL):
update metadatavalue > set text_value = regexp_replace(text_value, 'http://*my-old.url.org > <http://my-old.url.org>*', 'https://*my-new.url.org > <http://my-new.url.org>*') where metadata_field_id IN (select > metadata_field_id from metadatafieldregistry where element = 'identifier' > and qualifier = 'uri'); After the update you need to reindex the discovery search index and the oai index: - bin/dspace index-discovery -f - bin/dspace oai import -c Best regards, Tom [image: logo] Tom Desair 250-B Suite 3A, Lucius Gordon Drive, West Henrietta, NY 14586 Gaston Geenslaan 14, Leuven 3001, Belgium www.atmire.com <http://atmire.com/website/?q=services&utm_source=emailfooter&utm_medium=email&utm_campaign=tomdesair> 2018-01-09 9:29 GMT+01:00 Tony Brian Albers <[email protected]>: > Thanks Christian, but it doesn't work. > > When I change the dc.identifier.uri field and import, it just says: " > There were no changes detected" > > Really odd. > > Any suggestions? > > /tony > > > On 01/08/2018 11:01 AM, Christian Scheible wrote: > > Hi Tony, > > > > yes there is. Just export, edit and import again. > > See : https://wiki.duraspace.org/display/DSDOC6x/Batch+Metadata+Editing > > for details. > > > > Kind Regards > > Christian > > > > Am 08.01.2018 um 10:58 schrieb Tony Brian Albers: > >> Hi Guys, > >> > >> We've had to change domain name on one of our installations, is there a > >> way using the command-line to change the metadata for all items? I'd > >> like to change the dc.identifier.uri > >> > >> TIA, > >> > >> /tony > > > > > > > -- > Tony Albers > Systems administrator, IT-development > Royal Danish Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark. > Tel: +45 2566 2383 / +45 8946 2316 > > -- > You received this message because you are subscribed to the Google Groups > "DSpace Technical Support" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/dspace-tech. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/dspace-tech. For more options, visit https://groups.google.com/d/optout.
