<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Cheers Rory!<br>
<br>
Before migrating my datasets, I'll check import's perldoc for
other options as well.<br>
<br>
On 23/07/2015 11:53 πμ, Rory McNicholl wrote:<br>
</div>
<blockquote
cite="mid:EMEW3|5d73d14e9e0b307206182c593bd8fcaer6M9sA14eprints-tech-bounces|ecs.soton.ac.uk|AM2PR05MB0708786A13DA3E96B22F370EAA820@AM2PR05MB0708.eurprd05.prod.outlook.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Hi George,</p>
<p><br>
</p>
<p>Just to add, your plan is one I've successfully put in to
action many times.</p>
<p><br>
</p>
<p>There are some flags to set for bin/import to allow this,
--migration being a good catchall</p>
<p><br>
</p>
<p>Cheers,</p>
<p><br>
</p>
<p>Rory</p>
<p><br>
</p>
<p><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" style="font-size:12pt;
color:#000000; background-color:#FFFFFF;
font-family:Calibri,Arial,Helvetica,sans-serif">
<div style="font-family:Tahoma; font-size:13px">
<div style="font-size:13px">
<div><font face="Arial">Rory McNicholl</font></div>
<div><font face="Arial">Lead developer</font></div>
<div><font face="Arial">Digital Archives & Research
Technologies</font></div>
<div><font face="Arial">University of London Computer
Centre</font></div>
<div><font face="Arial">Senate House</font></div>
<div><font face="Arial">Malet Street</font></div>
<div><font face="Arial">London</font></div>
<div><font face="Arial">WC1E 7HU</font></div>
<div><font face="Arial"><br>
</font></div>
<div><font face="Arial">t: +44 (0)20 7863 1344</font></div>
<div><font face="Arial">e: <a class="moz-txt-link-abbreviated" href="mailto:rory.mcnicholl@london.ac.uk">rory.mcnicholl@london.ac.uk</a></font></div>
<div><font face="Arial">w: <a class="moz-txt-link-freetext" href="http://www.ulcc.ac.uk/">http://www.ulcc.ac.uk/</a></font></div>
<div><font face="Arial"><br>
</font></div>
<div><font face="Arial">The University of London is an
exempt charity in England and Wales.</font></div>
</div>
</div>
</div>
</div>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt"
color="#000000" face="Calibri, sans-serif"><b>From:</b>
<a class="moz-txt-link-abbreviated" href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">eprints-tech-bounces@ecs.soton.ac.uk</a>
<a class="moz-txt-link-rfc2396E" href="mailto:eprints-tech-bounces@ecs.soton.ac.uk"><eprints-tech-bounces@ecs.soton.ac.uk></a> on behalf of
George Mamalakis <a class="moz-txt-link-rfc2396E" href="mailto:mamalos@eng.auth.gr"><mamalos@eng.auth.gr></a><br>
<b>Sent:</b> 23 July 2015 09:35<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a><br>
<b>Subject:</b> [EP-tech] Re: EPrints Import Question</font>
<div> </div>
</div>
<div>
<div class="moz-cite-prefix">Adam,<br>
<br>
Couldn't Greg create an EPrints XML file (by scripting in
his favourite language) and use the EPrints import plugin
(XML) to achieve the same result? Of course the files
should be placed in the appropriate directory, pointed by
the XML file. I'm asking that because that's what I'm
planning to do when migrating 10K+ records along with
their files from my old DSpace repository, using a python
script. If not, I'll be the next with the same problem,
and don't take it as a motive to answer "NO" :):):).<br>
<br>
On 23/07/2015 11:19 πμ, Adam Field wrote:<br>
</div>
<blockquote type="cite">I generally script this kind of
thing using the EPrints API, but id does have to be run on
the command line of the server. I've done this quite a
few times -- here's an example of one I did a couple of
years ago:
<div><br>
</div>
<div> <span class="Apple-tab-span"
style="white-space:pre"> </span><a
moz-do-not-send="true"
href="https://github.com/gobfrey/langsnap_eprints/blob/master/import_data.pl#L58"
style="color: rgb(5, 99, 193); text-decoration:
underline;">https://github.com/gobfrey/langsnap_eprints/blob/master/import_data.pl#L58</a><br>
<div><br>
</div>
<div>...lines 58 to 84 is the process of creating an
eprint and attaching a file to it.</div>
<div><br>
</div>
<div>If you code, or have access to someone who codes,
it's straightforwards. I'd be very happy to trade
advice, code fragments and information for
documentation on the EPrints wiki for the next person
with this problem.</div>
<div><br>
</div>
<div>
<div>
<div>
<div style="color:rgb(0,0,0);
letter-spacing:normal; orphans:auto;
text-align:start; text-indent:0px;
text-transform:none; white-space:normal;
widows:auto; word-spacing:0px;
word-wrap:break-word">
<div>--<br>
Adam Field<br>
Business Relationship Manager and Community
Lead<br>
EPrints Services</div>
<div><br>
</div>
<div>I am currently not working in the UK. Due
to timezone differences (GMT -9) email
responses may take longer.</div>
</div>
</div>
<br>
<div>
<div>On 22 Jul 2015, at 22:52, Greg Whitney <<a
moz-do-not-send="true"
href="mailto:greg.whitney@polymtl.ca"
style="color: rgb(5, 99, 193);
text-decoration: underline;">greg.whitney@polymtl.ca</a>>
wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<meta name="Generator" content="Microsoft Word
15 (filtered medium)">
<div lang="EN-US">
<div>
<p style="margin: 0cm 0cm 0.0001pt;
font-size: 11pt; font-family: Calibri,
sans-serif;">
<span lang="FR-CA">Hello,</span></p>
<p style="margin: 0cm 0cm 0.0001pt;
font-size: 11pt; font-family: Calibri,
sans-serif;">
<span lang="FR-CA"> </span></p>
<p style="margin: 0cm 0cm 0.0001pt;
font-size: 11pt; font-family: Calibri,
sans-serif;">
At Polytechnique Montreal Library, we are
investigating the possibility of doing
some retrospective scanning of our printed
theses collection. I know that it is
possible to load “bibliographic” records
into EPrints, but is it also possible to
batch import the PDF files themselves ??</p>
<p style="margin: 0cm 0cm 0.0001pt;
font-size: 11pt; font-family: Calibri,
sans-serif;">
</p>
<p style="margin: 0cm 0cm 0.0001pt;
font-size: 11pt; font-family: Calibri,
sans-serif;">
Thanks!</p>
<p style="margin: 0cm 0cm 0.0001pt;
font-size: 11pt; font-family: Calibri,
sans-serif;">
</p>
<p style="margin: 0cm 0cm 0.0001pt;
font-size: 11pt; font-family: Calibri,
sans-serif;">
</p>
<p style="margin: 0cm 0cm 0.0001pt;
font-size: 11pt; font-family: Calibri,
sans-serif;">
Greg Whitney</p>
<p style="margin: 0cm 0cm 0.0001pt;
font-size: 11pt; font-family: Calibri,
sans-serif;">
Section Head, Technical & Computer
Services</p>
<p style="margin: 0cm 0cm 0.0001pt;
font-size: 11pt; font-family: Calibri,
sans-serif;">
<span lang="FR-CA">Polytechnique Montréal
Library</span></p>
<p style="margin: 0cm 0cm 0.0001pt;
font-size: 11pt; font-family: Calibri,
sans-serif;">
<span lang="FR-CA">2500, chemin de
Polytechnique</span></p>
<p style="margin: 0cm 0cm 0.0001pt;
font-size: 11pt; font-family: Calibri,
sans-serif;">
<span lang="FR-CA">Montréal, QC</span></p>
<p style="margin: 0cm 0cm 0.0001pt;
font-size: 11pt; font-family: Calibri,
sans-serif;">
<span lang="FR-CA">Canada H3T-1J4</span></p>
<p style="margin: 0cm 0cm 0.0001pt;
font-size: 11pt; font-family: Calibri,
sans-serif;">
<span lang="FR-CA">514-340-5121 x4641 </span></p>
<p style="margin: 0cm 0cm 0.0001pt;
font-size: 11pt; font-family: Calibri,
sans-serif;">
<span lang="FR-CA">514-340-4026 (Fax)</span></p>
<p style="margin: 0cm 0cm 0.0001pt;
font-size: 11pt; font-family: Calibri,
sans-serif;">
<span lang="FR-CA"><a
moz-do-not-send="true"
href="mailto:greg.whitney@polymtl.ca"
style="color: rgb(5, 99, 193);
text-decoration: underline;">greg.whitney@polymtl.ca</a></span></p>
<p style="margin: 0cm 0cm 0.0001pt;
font-size: 11pt; font-family: Calibri,
sans-serif;">
<img moz-do-not-send="true"
id="_x0000_i1025"
style="-webkit-user-select: none;"
src="" height="106" width="204"
border="0"></p>
<p style="margin: 0cm 0cm 0.0001pt;
font-size: 11pt; font-family: Calibri,
sans-serif;">
</p>
<p style="margin: 0cm 0cm 0.0001pt;
font-size: 11pt; font-family: Calibri,
sans-serif;">
</p>
<p style="margin: 0cm 0cm 0.0001pt;
font-size: 11pt; font-family: Calibri,
sans-serif;">
</p>
</div>
</div>
*** Options: <a moz-do-not-send="true"
href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech"
style="color: rgb(5, 99, 193);
text-decoration: underline;">
http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><br>
*** Archive: <a moz-do-not-send="true"
href="http://www.eprints.org/tech.php/"
style="color: rgb(5, 99, 193);
text-decoration: underline;">
http://www.eprints.org/tech.php/</a><br>
*** EPrints community wiki: <a
moz-do-not-send="true"
href="http://wiki.eprints.org/" style="color:
rgb(5, 99, 193); text-decoration: underline;">
http://wiki.eprints.org/</a><br>
*** EPrints developers Forum: <a
moz-do-not-send="true"
href="http://forum.eprints.org/" style="color:
rgb(5, 99, 193); text-decoration: underline;">
http://forum.eprints.org/</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre>*** Options: <a moz-do-not-send="true" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" style="color: rgb(5, 99, 193); text-decoration: underline;">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a moz-do-not-send="true" href="http://www.eprints.org/tech.php/" style="color: rgb(5, 99, 193); text-decoration: underline;">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a moz-do-not-send="true" href="http://wiki.eprints.org/" style="color: rgb(5, 99, 193); text-decoration: underline;">http://wiki.eprints.org/</a>
*** EPrints developers Forum: <a moz-do-not-send="true" href="http://forum.eprints.org/" style="color: rgb(5, 99, 193); text-decoration: underline;">http://forum.eprints.org/</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
George Mamalakis
IT and Security Officer,
Electrical and Computer Engineer (Aristotle Univ. of Thessaloniki),
PhD (Aristotle Univ. of Thessaloniki),
MSc (Imperial College of London)
School of Electrical and Computer Engineering
Aristotle University of Thessaloniki
phone number : +30 (2310) 994379
</pre>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">*** Options: <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a class="moz-txt-link-freetext" href="http://www.eprints.org/tech.php/">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a class="moz-txt-link-freetext" href="http://wiki.eprints.org/">http://wiki.eprints.org/</a>
*** EPrints developers Forum: <a class="moz-txt-link-freetext" href="http://forum.eprints.org/">http://forum.eprints.org/</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
George Mamalakis
IT and Security Officer,
Electrical and Computer Engineer (Aristotle Univ. of Thessaloniki),
PhD (Aristotle Univ. of Thessaloniki),
MSc (Imperial College of London)
School of Electrical and Computer Engineering
Aristotle University of Thessaloniki
phone number : +30 (2310) 994379
</pre>
</body>
</html>