Finding Aids Workshop Quick Reference
From DLXS Documentation
Line 1: | Line 1: | ||
Workshop Quick Reference. | Workshop Quick Reference. | ||
- | Prepare Directories and Copy Files | + | ==Prepare Directories and Copy Files== |
- | [[Step by step instructions for setting up Directories for Data Preparation]] | + | ===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 <span class="unixcommand">$DLXSROOT</span>, type the following command at the command prompt: | To check your <span class="unixcommand">$DLXSROOT</span>, type the following command at the command prompt: | ||
Line 29: | Line 30: | ||
</div> | </div> | ||
+ | |||
+ | ===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 | ||
+ | |||
+ | <span class="redtext">Edit the files to change all samplefa and s/samplefa to workshopfa w/workshopfa</span> | ||
+ | |||
+ | After editing the files, you can check to make sure you changed all the "samplefa" strings with the following command: | ||
+ | |||
+ | grep -l "samplefa" <span class="unixcommand">$DLXSROOT/prep/w/workshopfa/</span><nowiki>*</nowiki> |
Revision as of 15:00, 11 July 2008
Workshop Quick Reference.
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/*