Skip to content

Script to create folder structure and pax packages for PUT tool

Notifications You must be signed in to change notification settings

cultural-collections/PAX_for_PUT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

Create PAX packages for PUT Tool

The code is looking for a structure where each folder in the given parent folder refers to the lowest level CALM record, and each of those folders contain mixed access and preservation copies to be sorted

The code also creates the structure using hardlinked copies of the files, as to not create complexity in the origigal directories - and also as a failsafe

Example: Defining SB1 as the top directory

Input Structure

Becomes

Output Structure

Editing the config file

Open the file in notepad

In the config file, put the path to the top level directory in the top_dir field - it would be \Path\to\SB1 in the above example

And change the .fmt in each of the formats to access and preservation formats, so the above example would be .tif and .jpg

You have the option here to not create use a hardlinked version of the folder structure - but it's reccomended

Running the code

This code will still need to be run in the command line

Download as a zip, extract it, edit the config file as needed, naviage to the extracted folder using 'CD', call python and then the name of the script

cli

About

Script to create folder structure and pax packages for PUT tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages