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
Becomes
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
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