| 1 | #!/usr/bin/env perl | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | use oEdtk::EDMS qw(EDMS_process_zip); | ||
| 7 | |||
| 8 | warn "INFO: DEPRECATED, you should use EDMS_process.pl in place.\n"; | ||
| 9 | if ( @ARGV < 2 or $ARGV[0] =~ /-h/i ) { | ||
| 10 | warn "Usage: $0 <ged.zip> <outdir>\n\n"; | ||
| 11 | warn "\tThis process ged.zip to load index and prepare pdf docs for loading in EDMS system.\n"; | ||
| 12 | warn | ||
| 13 | "\tpdf and index should have the same name and should use uniq id (see index structure).\n"; | ||
| 14 | exit 1; | ||
| 15 | } | ||
| 16 | |||
| 17 | EDMS_process_zip( $ARGV[0], $ARGV[1] ); |