diff --git a/content/post/2017-01.md b/content/post/2017-01.md index da4134b2a..965ba30a8 100644 --- a/content/post/2017-01.md +++ b/content/post/2017-01.md @@ -210,3 +210,8 @@ $ gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE - ## 2017-01-19 - In testing a random sample of CIAT's PDFs for compressability, it looks like all of these methods generally increase the file size so we will just import them as they are +- Import 232 CIAT records into CGSpace: + +``` +$ JAVA_OPTS="-Xmx512m -Dfile.encoding=UTF-8" /home/cgspace.cgiar.org/bin/dspace import --add --eperson=aorth@mjanja.ch --collection=10568/68704 --source /home/aorth/CIAT_232/SimpleArchiveFormat/ --mapfile=/tmp/ciat.map &> /tmp/ciat.log +``` diff --git a/public/2017-01/index.html b/public/2017-01/index.html index e2651d180..31755a6b3 100644 --- a/public/2017-01/index.html +++ b/public/2017-01/index.html @@ -28,7 +28,7 @@ - + @@ -346,8 +346,12 @@ $ gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE - +
$ JAVA_OPTS="-Xmx512m -Dfile.encoding=UTF-8" /home/cgspace.cgiar.org/bin/dspace import --add --eperson=aorth@mjanja.ch --collection=10568/68704 --source /home/aorth/CIAT_232/SimpleArchiveFormat/ --mapfile=/tmp/ciat.map &> /tmp/ciat.log
+
+ diff --git a/public/index.xml b/public/index.xml index c79f2ad25..7eba9de78 100644 --- a/public/index.xml +++ b/public/index.xml @@ -253,7 +253,11 @@ $ gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE - <ul> <li>In testing a random sample of CIAT&rsquo;s PDFs for compressability, it looks like all of these methods generally increase the file size so we will just import them as they are</li> +<li>Import 232 CIAT records into CGSpace:</li> </ul> + +<pre><code>$ JAVA_OPTS=&quot;-Xmx512m -Dfile.encoding=UTF-8&quot; /home/cgspace.cgiar.org/bin/dspace import --add --eperson=aorth@mjanja.ch --collection=10568/68704 --source /home/aorth/CIAT_232/SimpleArchiveFormat/ --mapfile=/tmp/ciat.map &amp;&gt; /tmp/ciat.log +</code></pre> diff --git a/public/post/index.xml b/public/post/index.xml index b3ee19e20..404ef52ac 100644 --- a/public/post/index.xml +++ b/public/post/index.xml @@ -253,7 +253,11 @@ $ gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE - <ul> <li>In testing a random sample of CIAT&rsquo;s PDFs for compressability, it looks like all of these methods generally increase the file size so we will just import them as they are</li> +<li>Import 232 CIAT records into CGSpace:</li> </ul> + +<pre><code>$ JAVA_OPTS=&quot;-Xmx512m -Dfile.encoding=UTF-8&quot; /home/cgspace.cgiar.org/bin/dspace import --add --eperson=aorth@mjanja.ch --collection=10568/68704 --source /home/aorth/CIAT_232/SimpleArchiveFormat/ --mapfile=/tmp/ciat.map &amp;&gt; /tmp/ciat.log +</code></pre> diff --git a/public/tags/notes/index.xml b/public/tags/notes/index.xml index 85d0ce464..cbe0d415b 100644 --- a/public/tags/notes/index.xml +++ b/public/tags/notes/index.xml @@ -252,7 +252,11 @@ $ gs -sDEVICE=pdfwrite -dCompatibilityLevel=1.4 -dPDFSETTINGS=/ebook -dNOPAUSE - <ul> <li>In testing a random sample of CIAT&rsquo;s PDFs for compressability, it looks like all of these methods generally increase the file size so we will just import them as they are</li> +<li>Import 232 CIAT records into CGSpace:</li> </ul> + +<pre><code>$ JAVA_OPTS=&quot;-Xmx512m -Dfile.encoding=UTF-8&quot; /home/cgspace.cgiar.org/bin/dspace import --add --eperson=aorth@mjanja.ch --collection=10568/68704 --source /home/aorth/CIAT_232/SimpleArchiveFormat/ --mapfile=/tmp/ciat.map &amp;&gt; /tmp/ciat.log +</code></pre>