A fast, repeatable process for organizing CZUR scans into JPEG/ and TIFF/ derivatives, with consistent naming and light automation.
-
Family folder contains one folder per species:
- Catalogued:
Genus_species - Not yet catalogued:
Genus_species_(uncatalogued)
- Catalogued:
-
Inside each species folder the script creates:
JPEG/– renamed copies for review/renamingTIFF/– final LZW-compressed TIFFs (fromJPEG/)
File naming
- Catalogued placeholder:
Genus_species_E01.jpg,Genus_species_E02.jpg, … (2-digit zero-padded) - Uncatalogued placeholder:
Genus_species_Uncatalogued01.jpg,…02.jpg, … - Later, manually replace
E##with the actual catalog number (e.g.,E1234), and tag backs as(A)/(B)when needed.
Timestamp extraction
- If original CZUR filenames match
YYYY_MM_DD_HH_MM_SS, the script applies that time to the copied file’s Created/Modified timestamps.
File:
Process-Images.ps1(run from a species folder)
-
If
JPEG/does not exist- Creates
JPEG/ - Copies all
*.jpgin the species folder intoJPEG/ - Applies placeholder names (catalogued =
_E##, uncatalogued =_Uncatalogued##) - Attempts to set timestamps from original filenames
- Prints next steps (rename in Explorer, verify against spreadsheet)
- Stop here (you’ll run the script again later to make TIFFs)
- Creates
-
If
JPEG/exists andTIFF/does not- Creates
TIFF/ - Converts every
JPEG/*.jpgto LZW-compressed.tifinTIFF/ - Moves your shell to the next species folder (alphabetically) and prints a reminder to run the script again there
- Creates
-
If both
JPEG/andTIFF/exist- If either contains files: warns you (already processed; double-check)
- If both are empty: deletes them and re-runs itself (fresh start)
- Connect the CZUR scanner and open CZUR software.
- Set storage folder to the Family folder you’re working on.
- Species folders have been pre-created by the
CreateSpeciesFoldersscript. You should only need to create a folder manually for special cases likeGenus_species_(uncatalogued).
-
Scan the front of each envelope first (as a separator/reference image).
-
Scan slips, front first; scan backs where present (you’ll add
(A)/(B)when renaming). -
For long white envelopes (bulk/overflow):
- Scan those first; mark their E numbers yellow in the spreadsheet.
- Copy those images into the correct species folder later.
-
If an envelope already shows initials/“scanned,” still scan the back and front to keep track. Rename folder as:
Genus_species - 11SEP25 ERL
-
If a species envelope is missing, create a placeholder folder:
Genus_species - Missing
-
At the end of a Family, change CZUR’s storage folder to the next Family.
-
In Explorer, use the envelope scans to separate species.
-
Copy each species’ slip scans into the matching species folder.
- Do not copy the envelope scan into the species folder.
- It may be useful to have the timestamps of when a species was scanned, in case a scan is misplaced.
- Keep it only as a visual separator for personal reference, don't transfer it to USB drive
-
For long-envelope items, confirm destination via the spreadsheet and place them correctly.
-
In Explorer, Shift+Right-click the species folder → Open PowerShell window here.
-
Run:
..\..\..\Process-Images.ps1(You can type
..\..\..\Pthen press Tab to autocomplete. Use Up Arrow to repeat later.) -
First run (no
JPEG/yet):-
Script creates
JPEG/and copies/renames your scans with placeholders. -
In Explorer:
- Use Extra large icons + Preview pane to read numbers quickly.
- Sort by Date → Ascending to keep scan order.
- Rename
E##to the actual catalog number (e.g.,E1234). - For backs/multipage, name as
E1234(A),E1234(B), etc.
-
-
Spreadsheet check
- Check off scans; fill in scan date.
- If something is missing: check the Zeros sheet; re-check envelope (slips can stick); verify numbers; rescan if needed.
- Rescans: drop into the Family folder, copy into the species folder, then into
JPEG/and rename manually. - If still missing, highlight red in the spreadsheet.
- Consolidate any yellow items (from long envelopes) into the correct species; use another long envelope if needed and include the original small envelope.
- Reorder physical cards in the envelope to numerical order if needed.
-
Second run (with renamed JPEGs):
..\..\..\Process-Images.ps1- Script makes
TIFF/(LZW) from yourJPEG/files. - Automatically advances to the next species folder and prompts you to run it again there.
- Script makes
- Keep the original CZUR files in the species folder (outside
JPEG//TIFF/) for provenance. - If both
JPEG/andTIFF/already contain files, the script warns and exits—double-check you’re in the right place. - If both subfolders exist but are empty, the script deletes them and restarts cleanly.
- If both subfolders exist and have files, the script informs you. Check they are complete, and manually change directory to next species folder.
- If the scanner is working well, it may be best to get as many scans done as possible before renaming.
- If scanner looks out of focus, wiggle the card, or back out of scan mode and reenter it.
- Catalogued placeholders →
Genus_species_E01.jpg→ rename to real numbers later. - Uncatalogued placeholders →
Genus_species_(uncatalogued)folder →Genus_species_Uncatalogued01.jpg, etc. - Backs/multipage → append
(A),(B). - Run order: create
JPEG/→ rename → createTIFF/. - The script then moves you to the next species automatically.
