User Tools

Site Tools


en:user_advanced:command_line_building

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
en:user_advanced:command_line_building [2018/03/13 06:06] – [Importing a collection] anupamaen:user_advanced:command_line_building [2018/03/13 06:07] – More m-dashes changed to hyphens for specifying flags anupama
Line 80: Line 80:
 This is the process of converting the original documents, which might be a mixture of file types, into a standardised XML based format - the Greenstone archive format. Original source documents live in the import folder of a collection, while the archive documents live in the archives folder.   This is the process of converting the original documents, which might be a mixture of file types, into a standardised XML based format - the Greenstone archive format. Original source documents live in the import folder of a collection, while the archive documents live in the archives folder.  
  
-The command to import a collection is ''import.pl''. Type ''perl S import.pl'' at the prompt to get a list of all the options for the import program, or view them [[script_options#import.pl|here]].+The command to import a collection is ''import.pl''. Type ''perl -S import.pl'' at the prompt to get a list of all the options for the import program, or view them [[script_options#import.pl|here]].
  
 ^Greenstone version^Import command^ ^Greenstone version^Import command^
Line 102: Line 102:
  
 ^Greenstone version^Build command^ ^Greenstone version^Build command^
-|2|perl S buildcol.pl <collname>|+|2|perl -S buildcol.pl <collname>|
 |3|perl —S buildcol.pl -site localsite <collname>| |3|perl —S buildcol.pl -site localsite <collname>|
  
Line 115: Line 115:
  
 ^Greenstone version^Activate command^ ^Greenstone version^Activate command^
-|2|perl S activate.pl <collname>+|2|perl -S activate.pl <collname>
-|3|perl S activate.pl -site localsite <collname>|+|3|perl -S activate.pl -site localsite <collname>|
  
 Or manually: Or manually:
Line 133: Line 133:
 ==== Create a collection ==== ==== Create a collection ====
  
-To create the ''skeleton'' of a collection we use mkcol.pl. This creates all the folders the collection needs, and sets up a default configuration.  Typing ''perl S mkcol.pl'' will provide +To create the ''skeleton'' of a collection we use mkcol.pl. This creates all the folders the collection needs, and sets up a default configuration.  Typing ''perl -S mkcol.pl'' will provide 
 the full list of options, which you can also view [[script_options#mkcol.pl|here]].  the full list of options, which you can also view [[script_options#mkcol.pl|here]]. 
  
Line 146: Line 146:
  
 ^Greenstone version^mkcol command^ ^Greenstone version^mkcol command^
-|2|perl -S mkcol.pl creator [email protected] <collname>+|2|perl -S mkcol.pl -creator [email protected] <collname>
-|3|perl -S mkcol.pl -site localsite creator [email protected] <collname>|+|3|perl -S mkcol.pl -site localsite -creator [email protected] <collname>|
  
  
en/user_advanced/command_line_building.txt · Last modified: 2023/03/13 01:46 by 127.0.0.1