Re: [Dspace-tech] Reinstate a group of items that has previously been withdrawn with Batch Metadata Editing Tool

2015-02-26 Thread BARRERA BARRERA, Carlos
Hello,

Excel creates CSV files with a semicolon as field separator.

I have changed it for commas and works!

Thank you for the answers,

Carles Barrera
Universitat Pompeu Fabra, Barcelona


2015-02-26 13:03 GMT+01:00 Àlex Magaz Graça alexandre.ma...@udl.cat:

 El 26/02/15 a les 12:13, Àlex Magaz Graça ha escrit:

  El 26/02/15 a les 10:12, BARRERA BARRERA, Carlos ha escrit:
  Hello,
 
  We are tring to reinstate a group of items that has previously been
  withdrawn with Batch Metadata Editing Tool:
 
  [dspace]/bin/dspace metadata-import -f metadata.csv
 
  heading row:
  id,collection,action
 
  item rows:
  28801,1,reinstate
  26223,1,reinstate
 
  performing 'actions' on items, but throws the next error:
 
  Bad metadata declaration in row 1: id;collection;action
 
  Does anyone use this tool or know another way to make it?
 
  We look forward to your reply.
 
  Thank you,
 
  *Carles Barrera Barrera*
  /Programador/
 
  Unitat d'Aplicacions Corporatives
  Servei d'Informàtica
 
  Plaça de la Mercè, 10-12 | 08002 Barcelona
  [Tel.] (+34) 93 542 16 93[Fax.] (+34) 93 542 21 45
  carles.barr...@upf.edu  mailto:carles.barr...@upf.edu
  http://www.upf.edu/bibtic/
 
  Universitat Pompeu Fabra, Barcelona
 
 
 
  
 --
  Dive into the World of Parallel Programming The Go Parallel Website,
  sponsored
  by Intel and developed in partnership with Slashdot Media, is your hub
  for all
  things parallel software development, from weekly thought leadership
  blogs to
  news, videos, case studies, tutorials and more. Take a look and join the
  conversation now. http://goparallel.sourceforge.net/
 
 
 
  ___
  DSpace-tech mailing list
  DSpace-tech@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/dspace-tech
  List Etiquette:
  https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
 

 Hello Carlos,

 You must remove the first row with the headers for it to work.

 Cheers,
 Àlex

 
 --
 Dive into the World of Parallel Programming The Go Parallel Website,
 sponsored
 by Intel and developed in partnership with Slashdot Media, is your hub
 for all
 things parallel software development, from weekly thought leadership
 blogs to
 news, videos, case studies, tutorials and more. Take a look and join the
 conversation now. http://goparallel.sourceforge.net/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech
 List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+
 Etiquette

  Forget it. My mind got mixed with PostgreSQL...

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Reinstate a group of items that has previously been withdrawn with Batch Metadata Editing Tool

2015-02-26 Thread BARRERA BARRERA, Carlos
Hello,

We are tring to reinstate a group of items that has previously been
withdrawn with Batch Metadata Editing Tool:

[dspace]/bin/dspace metadata-import -f metadata.csv

heading row:
id,collection,action

item rows:
28801,1,reinstate
26223,1,reinstate

performing 'actions' on items, but throws the next error:

Bad metadata declaration in row 1: id;collection;action

Does anyone use this tool or know another way to make it?

We look forward to your reply.

Thank you,

*Carles Barrera Barrera*
/Programador/

Unitat d'Aplicacions Corporatives
Servei d'Informàtica

Plaça de la Mercè, 10-12 | 08002 Barcelona
[Tel.] (+34) 93 542 16 93[Fax.] (+34) 93 542 21 45
carles.barr...@upf.edu
http://www.upf.edu/bibtic/

[image: Universitat Pompeu Fabra, Barcelona]
--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette