Changeset 1970 for trunk/gsdl
- Timestamp:
- 2001-02-14T12:48:56+13:00 (23 years ago)
- Location:
- trunk/gsdl/bin/script
- Files:
-
- 6 deleted
- 20 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/bin/script/build
r1778 r1970 135 135 136 136 sub print_usage { 137 print STDERR "\n usage: $0 [options] collection-name\n\n"; 137 print STDERR "\n"; 138 print STDERR "build: Builds a Greenstone collection (i.e. runs import.pl and buildcol.pl\n"; 139 print STDERR " then copies the resulting indexes to the correct place).\n\n"; 140 print STDERR " usage: $0 [options] collection-name\n\n"; 138 141 print STDERR " options:\n"; 139 142 print STDERR " -optionfile file Get options from file, useful on systems where\n"; -
trunk/gsdl/bin/script/buildcol.pl
r1853 r1970 44 44 45 45 sub print_usage { 46 print STDERR "\n usage: $0 [options] collection-name\n\n"; 46 print STDERR "\n"; 47 print STDERR "buildcol.pl: Builds the indexes of a Greenstone collection.\n\n"; 48 print STDERR " usage: $0 [options] collection-name\n\n"; 47 49 print STDERR " options:\n"; 48 50 print STDERR " -verbosity number 0=none, 3=lots\n"; … … 65 67 print STDERR " -out Filename or handle to print output status to.\n"; 66 68 print STDERR " The default is STDERR\n"; 67 print STDERR " -buildtype mg|mgpp THis will override the config file setting. (default is mg)\n"; 68 print STDERR " -no_strip_html Do not strip the html tags from the indexed text (only used for mgpp collections).\n\n"; 69 print STDERR " -buildtype mg|mgpp This will override the config file setting.\n"; 70 print STDERR " (default is mg)\n"; 71 print STDERR " -no_strip_html Do not strip the html tags from the indexed text\n"; 72 print STDERR " (only used for mgpp collections).\n\n"; 69 73 } 70 74 -
trunk/gsdl/bin/script/cancel_build.pl
r1461 r1970 47 47 48 48 sub print_usage { 49 print STDERR "\n usage: $0 [options] collection-name\n\n"; 49 print STDERR "\n"; 50 print STDERR "cancel_build.pl: Cancel a build in progress. This script is\n"; 51 print STDERR " called from the collector and is not intended\n"; 52 print STDERR " for general use.\n\n"; 53 print STDERR " usage: $0 [options] collection-name\n\n"; 50 54 print STDERR " options:\n"; 51 55 print STDERR " -collectdir directory Collection directory (defaults to " . -
trunk/gsdl/bin/script/classinfo.pl
r1885 r1970 41 41 42 42 sub print_usage { 43 print STDERR " 44 usage: $0 [options] classifier 45 46 options: 47 -collect collection-name Giving a collection name will make 48 classinfo.pl look in 49 collect/collection-name/perllib/classify 50 first. If it doesn't find it there it will 51 look in the general perllib/classify directory. 52 53 "; 43 print STDERR "\n"; 44 print STDERR "classinfo.pl: Prints information about a classifier.\n\n"; 45 print STDERR " usage: $0 [options] classifier\n\n"; 46 print STDERR " options:\n"; 47 print STDERR " -collect collection-name Giving a collection name will make\n"; 48 print STDERR " classinfo.pl look in collect/collection-name/perllib/classify\n"; 49 print STDERR " first. If it doesn't find it there it will look in the general\n"; 50 print STDERR " perllib/classify directory.\n\n"; 54 51 } 55 56 52 57 53 &main (); -
trunk/gsdl/bin/script/cleantmp.pl
r1461 r1970 39 39 40 40 sub print_usage { 41 print STDERR "\n"; 42 print STDERR "cleantmp.pl: Cleans up the Greenstone tmp directory by deleting anything\n"; 43 print STDERR " more than -expire_days days old.\n\n"; 41 44 print STDERR "\n usage: $0 [options]\n\n"; 42 print STDERR " op rions:\n";45 print STDERR " options:\n"; 43 46 print STDERR " -expire_days number The number of days old information in the tmp\n"; 44 47 print STDERR " directory must be before it is removed (defaults\n"; -
trunk/gsdl/bin/script/create_distributions.pl
r1934 r1970 64 64 65 65 sub print_usage { 66 print STDERR "\n usage: $0 [options]\n\n"; 66 print STDERR "\n"; 67 print STDERR "create_distributions.pl: Packages up Greenstone distributions.\n\n"; 68 print STDERR " usage: $0 [options]\n\n"; 67 69 print STDERR " options:\n"; 68 70 print STDERR " -version_num version number of distribution (x.xx)\n"; -
trunk/gsdl/bin/script/delcol.pl
r1452 r1970 35 35 36 36 sub print_usage { 37 print STDERR "\n usage: $0 [options] collection-name\n\n"; 37 print STDERR "\n"; 38 print STDERR "delcol.pl: Deletes (forever) a collection.\n\n"; 39 print STDERR " usage: $0 [options] collection-name\n\n"; 38 40 print STDERR " options:\n"; 39 41 print STDERR " -f Force deletion of collection without prompting\n\n"; -
trunk/gsdl/bin/script/filecopy.pl
r1485 r1970 40 40 41 41 sub print_usage { 42 print STDERR "\n"; 43 print STDERR "filecopy.pl: Recursively copies files into a collections import directory.\n\n"; 42 44 print STDERR "\n usage: $0 [options] [directories] collection-name\n\n"; 43 45 … … 45 47 print STDERR " -collectdir directory Collection directory (defaults to " . 46 48 &util::filename_cat ($ENV{'GSDLHOME'}, "collect") . ")\n"; 47 print STDERR " -out Filename or handle to print output status to.\n";48 print STDERR " The default is STDERR\n\n";49 print STDERR " -out Filename or handle to print output status to.\n"; 50 print STDERR " The default is STDERR\n\n"; 49 51 } 50 52 -
trunk/gsdl/bin/script/gsConvert.pl
r1960 r1970 49 49 sub print_usage 50 50 { 51 print STDERR "Usage: $0 [options] filename\n"; 52 print STDERR "Options are:\n\t-type\tdoc|pdf\n\t-output\thtml|text\n"; 51 print STDERR "\n"; 52 print STDERR "gsConvert.pl: Converts documents in a range of formats to html\n"; 53 print STDERR " or text using third-party programs.\n\n"; 54 print STDERR " usage: $0 [options] filename\n"; 55 print STDERR " options:\n\t-type\tdoc|pdf\n\t-output\thtml|text\n"; 53 56 print STDERR "\t-timeout\t<max cpu seconds>\n"; 54 57 exit(1); -
trunk/gsdl/bin/script/gsdlinfo.pl
r1665 r1970 36 36 use parsargv; 37 37 use colcfg; 38 39 if (scalar(@ARGV) && $ARGV[0] eq "--help") { 40 print STDERR "\n"; 41 print STDERR "gsdlinfo.pl: Prints information on any Greenstone collections\n"; 42 print STDERR " found on the local file system.\n\n"; 43 exit; 44 } 38 45 39 46 -
trunk/gsdl/bin/script/import.pl
r1587 r1970 48 48 49 49 sub print_usage { 50 print STDERR "\n usage: $0 [options] collection-name\n\n"; 50 print STDERR "\n"; 51 print STDERR "import.pl: Converts documents in collections -importdir directory into\n"; 52 print STDERR " gml documents which are written to the -archivedir directory.\n\n"; 53 print STDERR " usage: $0 [options] collection-name\n\n"; 51 54 print STDERR " options:\n"; 52 55 print STDERR " -verbosity number 0=none, 3=lots\n"; -
trunk/gsdl/bin/script/makemapfile.pl
r1870 r1970 67 67 68 68 sub print_usage { 69 print STDERR "\n usage: $0 [options]\n\n"; 69 print STDERR "\n"; 70 print STDERR "makemapfile.pl: Creates unicode map (.ump) files from plain\n"; 71 print STDERR " text code pages.\n\n"; 72 print STDERR " usage: $0 [options]\n\n"; 70 73 print STDERR " options:\n"; 71 74 print STDERR " -encoding name\n"; 72 print STDERR " -mapfile text file from which to create binary \n\n";75 print STDERR " -mapfile text file from which to create binary ump file\n\n"; 73 76 } 74 77 -
trunk/gsdl/bin/script/mirror.pl
r1533 r1970 37 37 # 38 38 # To use w3mirror, the configuration file must be in etc/w3mir.cfg. 39 # To use GNU wget, the configu artion file (i.e. a wgetrc file) must39 # To use GNU wget, the configuration file (i.e. a wgetrc file) must 40 40 # be in etc/wget.cfg and a file of the URLs to read in etc/wget.url 41 41 … … 57 57 58 58 sub print_usage { 59 print STDERR "\n usage: $0 [options] collection-name\n\n"; 59 print STDERR "\n"; 60 print STDERR "mirror.pl: Uses w3mir or wget to sync a collections import data\n"; 61 print STDERR " with a website.\n\n"; 62 print STDERR " usage: $0 [options] collection-name\n\n"; 60 63 print STDERR " options:\n"; 61 64 print STDERR " -verbosity number 0=none, 3=lots\n"; -
trunk/gsdl/bin/script/mkcol.pl
r1780 r1970 43 43 44 44 sub print_usage { 45 print STDERR "\n usage: $0 [options] collection-name\n\n"; 45 print STDERR "\n"; 46 print STDERR "mkcol.pl: Creates the directory structure for a new\n"; 47 print STDERR " Greenstone collection.\n\n"; 48 print STDERR " usage: $0 [options] collection-name\n\n"; 46 49 print STDERR " options:\n"; 47 50 print STDERR " -optionfile file Get options from file, useful on systems where\n"; -
trunk/gsdl/bin/script/nightly.pl
r1378 r1970 28 28 29 29 30 # This program will find all the collections under $GSDLHOME/collect30 # This program will find all the collections under $GSDLHOME/collect 31 31 # and use the update.pl script to update them all. It should be run 32 32 # every night to keep mirror collections up-to-date. … … 50 50 51 51 sub print_usage { 52 print STDERR "\n usage: $0 [options]\n\n"; 52 print STDERR "\n"; 53 print STDERR "nightly.pl: Attempts to update all Greenstone collections found on\n"; 54 print STDERR " the local filesystem by calling update.pl for each of\n"; 55 print STDERR " them.\n\n"; 56 print STDERR " usage: $0 [options]\n\n"; 53 57 print STDERR " options:\n"; 54 58 print STDERR " -verbosity number 0=none, 3=lots\n"; … … 100 104 101 105 } 102 103 104 105 106 -
trunk/gsdl/bin/script/pluginfo.pl
r1244 r1970 42 42 43 43 sub print_usage { 44 print STDERR "\n usage: $0 [options] plugin\n\n"; 44 print STDERR "\n"; 45 print STDERR "pluginfo.pl: Prints information about a plugin.\n\n"; 46 print STDERR " usage: $0 [options] plugin\n\n"; 45 47 print STDERR " options:\n"; 46 48 print STDERR " -collect collection-name Giving a collection name will make pluginfo.pl\n"; -
trunk/gsdl/bin/script/sendmail.pl
r1777 r1970 48 48 'smtp/.*', \$smtp, 49 49 'msgfile/.*/', \$msgfile)) { 50 print STDERR "\n usage: $0 [options]\n\n"; 50 print STDERR "\n"; 51 print STDERR "sendmail.pl: A simple platform independant mail sending program.\n\n"; 52 print STDERR " usage: $0 [options]\n\n"; 51 53 print STDERR " options:\n"; 52 54 print STDERR " -to addr Comma separated list of mail recipients\n"; -
trunk/gsdl/bin/script/translate.pl
r1926 r1970 92 92 93 93 sub print_usage { 94 print STDERR "\n usage: $0 [options] macrofile\n\n"; 94 print STDERR "\n"; 95 print STDERR "translate.pl: Uses gimp to generate any images required by a\n"; 96 print STDERR " Greenstone macro file.\n\n"; 97 print STDERR " usage: $0 [options] macrofile\n\n"; 95 98 print STDERR " options:\n"; 96 99 print STDERR " -save_orig_file edited macrofile will be written to\n"; -
trunk/gsdl/bin/script/unindex.pl
r1666 r1970 59 59 60 60 sub print_usage { 61 print STDERR "\n usage: $0 [options]\n\n"; 61 print STDERR "\n"; 62 print STDERR "unindex.pl: Attempts to generate gml files from a built Greenstone index.\n\n"; 63 print STDERR " usage: $0 [options]\n\n"; 62 64 print STDERR " options:\n"; 63 65 print STDERR " -verbosity number 0=none, 3=lots\n"; -
trunk/gsdl/bin/script/update.pl
r1533 r1970 55 55 56 56 sub print_usage { 57 print STDERR "\n usage: $0 [options] collection-name\n\n"; 57 print STDERR "\n"; 58 print STDERR "update.pl: Updates a collection if it has been set up to mirror\n"; 59 print STDERR " a website. Calls mirror.pl to do the mirroring.\n\n"; 60 print STDERR " usage: $0 [options] collection-name\n\n"; 58 61 print STDERR " options:\n"; 59 62 print STDERR " -verbosity number 0=none, 3=lots\n";
Note:
See TracChangeset
for help on using the changeset viewer.