Go to file
Sam W 09a307e09a Add readme 2022-09-20 19:49:11 +01:00
src Initial working disaster 2022-09-20 01:16:09 +01:00
.envrc Initial working disaster 2022-09-20 01:16:09 +01:00
.gitignore Initial working disaster 2022-09-20 01:16:09 +01:00
Cargo.lock Initial working disaster 2022-09-20 01:16:09 +01:00
Cargo.toml Initial working disaster 2022-09-20 01:16:09 +01:00
flake.lock Initial working disaster 2022-09-20 01:16:09 +01:00
flake.nix Initial working disaster 2022-09-20 01:16:09 +01:00
readme.md Add readme 2022-09-20 19:49:11 +01:00

readme.md

Photocheck

Check that you copied all your photos off that SD card.

This tool is explicitly for the workflow of manually copying files from a single or few directories (e.g. an SD card) into multiple other directories (e.g. by date or by event). It verifies that all the files present in a source directory structure are present in a destination directory structure.

Status

Very much half baked, but does what I need it to do

Safety

This tool uses a (filename, filesize) pair. So, will protect you if your file was truncated for some reason, but not against file corruption due to dodgy SD card, cosmic rays etc. Doing this rather than comparing contents or hashes allows us to run very quickly over many files.

Usage

./photocheck path/to/source path/to/dest