From: Shawn Boyette Date: Tue, 2 Dec 2008 21:16:57 +0000 (+0000) Subject: renaming old2new mapfile X-Git-Url: http://git.equinoxoli.org/?p=migration-tools.git;a=commitdiff_plain;h=7fbe36ebd789e0e8eac43a402323942d2bc9c901 renaming old2new mapfile --- diff --git a/marc-cleanup b/marc-cleanup index 3838559..e4f29d7 100755 --- a/marc-cleanup +++ b/marc-cleanup @@ -20,7 +20,7 @@ populate_trash() if ($conf->{trashfile}); my $EXMARC = ''; open MARC, '<:utf8', (shift || 'incoming.marc.xml'); open my $NUMARC, '>:utf8', $conf->{output}; -open my $OLD2NEW, '>', 'old2new.incoming.map' +open my $OLD2NEW, '>', 'old2new.map' if ($conf->{'renumber-from'} and $conf->{'original-subfield'}); print $NUMARC '',"\n"; print $NUMARC '',"\n"; @@ -671,7 +671,7 @@ Options it appears in the trash file --original-subfield -os Original id subfield code. If this is specified and renumbering is in effect, an old-to-new mapping - file (old2new.incoming.map) will be generated. + file (old2new.map) will be generated. --nocollapse -n Don't compress records to one line on output --autoscrub -a Automatically remove non-numeric tags in data