Hello Meera,

There are several options, the best one depends on what you need to do. You 
might want to post more specific details of what it is you need to 
accomplish.

1) If the URI you need to change is the handle (e.g. 
http://hdl.handle.net/12345/67890, and you only need to change the prefix 
(12345), there is a DSpace tool to do this:

[dspace-home]/bin/dspace update-handle-prefix [args]

2) Otherwise you could use the batch editing tool from the GUI or CLI:

https://wiki.duraspace.org/display/DSDOC5x/Batch+Metadata+Editing

I believe this involves exporting metadata to CSV, editing in Excel, then 
re-importing. I have never used this and can't say any more than that.

3) You could use the DSpace API to write a java class to do the job. I've 
done something similar for batch withdrawing items:

http://hdl.handle.net/10197/6335

4) You could possibly use SQL to do the job. Be sure to back up the 
database first and re-index everything afterwards. There may have been 
changes to the index command that I'm not familiar with as I'm on an 
earlier version.


The benefits of 3) over 4) is that by using the API you (probably) won't 
miss any steps like indexing, and you have the ability to analyse the 
changes using java.

NB all of these solutions can destroy part or all of your database, be 
careful.

Kind regards,
Joseph










On Saturday, 20 February 2016 18:44:31 UTC, MEERA MUHIADEEN RIFAUDEEN wrote:
>
> Dear DSpace Friends,
>
> Greetings from Sri Lanka
>
> I am new to DSpace 5.x.
>
> I need to batch edit the "URI" of my Database.
>
> Could you please suggest step by step guide to batch edit  URI
>
> -- 
> Best regards,
>
> *MM Rifaudeen*
> University Librarian
> _________________________________
> Library
> South Eastern University of Sri Lanka
> P.O. Box No.01, University Park, Oluvil #32360, 
> SRI LANKA.
> Ph./Fax: +94 67 2255160
> Mobile: 0094 718035184
> E-mail: [email protected] <javascript:>
> Web: www.seu.ac.lk
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Community" 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-community.
For more options, visit https://groups.google.com/d/optout.

Reply via email to