diff --git a/content/2016-09.md b/content/2016-09.md index fbb1d752a..7e61c6bac 100644 --- a/content/2016-09.md +++ b/content/2016-09.md @@ -160,3 +160,10 @@ value.replace("'","").replace(",","").replace('"','') - Seems that the latter method causes a null pointer exception, so I will just have to use the former method - In the end I was able to import the files after unzipping them ONLY on Linux - The CSV file was giving file names in UTF-8, and unzipping the zip on Mac OS X and transferring it was converting the file names to Unicode equivalence like I saw above +- Import CIAT Gender Network records to CGSpace, first creating the SAF bundles as my user, then importing as the `tomcat7` user, and deleting the bundle, for each collection's items: + +``` +$ ./safbuilder.sh -c /home/aorth/ciat-gender-2016-09-06/66601.csv +$ JAVA_OPTS="-Dfile.encoding=UTF-8 -Xmx512m" /home/cgspace.cgiar.org/bin/dspace import -a -e aorth@mjanja.ch -c 10568/66601 -s /home/aorth/ciat-gender-2016-09-06/SimpleArchiveFormat -m 66601.map +$ rm -rf ~/ciat-gender-2016-09-06/SimpleArchiveFormat/ +``` diff --git a/public/2016-09/index.html b/public/2016-09/index.html index 2de7e4749..0164295b9 100644 --- a/public/2016-09/index.html +++ b/public/2016-09/index.html @@ -263,8 +263,14 @@ TLSv1/EDH-RSA-DES-CBC3-SHA +
  • Import CIAT Gender Network records to CGSpace, first creating the SAF bundles as my user, then importing as the tomcat7 user, and deleting the bundle, for each collection’s items:
  • +
    $ ./safbuilder.sh -c /home/aorth/ciat-gender-2016-09-06/66601.csv
    +$ JAVA_OPTS="-Dfile.encoding=UTF-8 -Xmx512m" /home/cgspace.cgiar.org/bin/dspace import -a -e aorth@mjanja.ch -c 10568/66601 -s /home/aorth/ciat-gender-2016-09-06/SimpleArchiveFormat -m 66601.map
    +$ rm -rf ~/ciat-gender-2016-09-06/SimpleArchiveFormat/
    +
    +