Finding Aids Workshop Quick Reference
From DLXS Documentation
Workshop Quick Reference. _TOC_
Contents |
Prepare Directories and Copy Files
Set up directories and files for Data Preparation
For more details see:Step by step instructions for setting up Directories for Data Preparation
To check your $DLXSROOT, type the following command at the command prompt:
echo $DLXSROOT
mkdir -p $DLXSROOT/prep/w/workshopfa/data cd $DLXSROOT/prep/w/workshopfa
cp $DLXSROOT/prep/s/samplefa/data/*.xml $DLXSROOT/prep/w/workshopfa/data/.
cp $DLXSROOT/prep/s/samplefa/samplefa.ead2002.dcl $DLXSROOT/prep/w/workshopfa/workshopfa.ead2002.dcl cp $DLXSROOT/prep/s/samplefa/samplefa.concat.ead.dcl $DLXSROOT/prep/w/workshopfa/workshopfa.concat.ead.dcl mkdir -p $DLXSROOT/obj/w/workshopfa mkdir -p $DLXSROOT/bin/w/workshopfa cp $DLXSROOT/bin/s/samplefa/preparedocs.pl $DLXSROOT/bin/w/workshopfa/preparedocs.pl cp $DLXSROOT/bin/s/samplefa/Makefile $DLXSROOT/bin/w/workshopfa/Makefile
Make sure you changed your copy of the Makefile to reflect /w/workshopfa instead of /s/samplefa and that your $DLXSROOT is set correctly in the Makefile. You will want to change lines 1-3 accordingly
1 DLXSROOT = /l1 2 NAMEPREFIX = samplefa 3 FIRSTLETTERSUBDIR = s
Set Up Directories and Files for XPAT Indexing
For more details see:Set Up Directories and Files for XPAT Indexing
mkdir -p $DLXSROOT/idx/w/workshopfa
cp $DLXSROOT/prep/s/samplefa/samplefa.blank.dd $DLXSROOT/prep/w/workshopfa/workshopfa.blank.dd cp $DLXSROOT/prep/s/samplefa/samplefa.extra.srch $DLXSROOT/prep/w/workshopfa/workshopfa.extra.srch
Both of these files need to be edited to reflect the new collection name and the paths to your particular directories.
cd $DLXSROOT/prep/w/workshopfa
Edit the files to change all samplefa and s/samplefa to workshopfa w/workshopfa
After editing the files, you can check to make sure you changed all the "samplefa" strings with the following command:
grep -l "samplefa" $DLXSROOT/prep/w/workshopfa/*