Use the scripts to do the following:
- Create Transfer Set dir in outputDir. This dir will contain a flattened version of the original Transfer Set.
- Prepare variables + make new folder in tsOutputDir.
- Copy file in targetDir. Optionally delete rootDir.
- Make description xml and put in xmlOutputDir.
https://github.com/Automatic-Ingest-Digital-Archives/SCALA/blob/main/Referenced%20Files/main.py
- Locate a Root Directory containing all the Transfer Sets.
- Download the pythons scripts and save them in the same directory.
- Open a PowerShell terminal.
- Run the following script. Replace the placeholders with appropriate values.
$rootDir = {{INSERT PATH TO ROOT DIR}}
$outputDir = {{INSERT PATH TO OUTPUT DIR}}
$xmlOutputDir = {{INSERT PATH TO XMLOUTPUT DIR}}
$deleteOriginal = $false
$script = {{INSERT PATH TO MAIN SCRIPT}}
python $script $rootDir $outputDir $xmlOutputDir $deleteOriginal
Use this script and adjust as needed.
https://github.com/Automatic-Ingest-Digital-Archives/SCALA/blob/main/Referenced%20Files/EditXml.py