Commit eadaf2e240f7e8086e2c2fb828f97cf7dd43114d

Authored by Paulo Graça
1 parent 4ffe80c05d
Exists in master

code examples fix

Showing 1 changed file with 5 additions and 2 deletions   Show diff stats
ingester/Readme.md
... ... @@ -9,6 +9,7 @@ libxml, libxslt, pdftotext
9 9  
10 10 we prepared an executable for some Linux distributions (CentOS and Ubuntu).
11 11 You can download the source code and execute:
  12 +
12 13 bash [PATH]/setup.sh
13 14  
14 15 It will install the required packages and Perl libraries.
... ... @@ -16,12 +17,14 @@ It will install the required packages and Perl libraries.
16 17 ## How to use
17 18  
18 19 You can use the linux find command to fecth all PDF files you want to ingest, you can do that by executing:
19   -find /tmp/pdfs -type f -name '*.pdf' -exec prepare {} \;
  20 +
  21 + find /tmp/pdfs -type f -name '*.pdf' -exec prepare {} \;
20 22  
21 23 this command will prepare each one of the found results. We recommend for you to prepare itens by each collection.
22 24  
23 25 For each collection you can ingest the itens by executing DSpace command:
24   -[/dspace]/bin/dspace import --add --eperson=sama-saw@asa.fccn.pt --collection=10400.25/300 --source=/tmp/prepared_items --mapfile=mapfile1
  26 +
  27 + [/dspace]/bin/dspace import --add --eperson=sama-saw@asa.fccn.pt --collection=10400.25/300 --source=/tmp/prepared_items --mapfile=mapfile1
25 28  
26 29  
27 30 ## Need help, or give any type of contribution?
... ...