Home (All Topics) → Technology → Software → AI-Created Software
Bit by Bit Backup records a SHA-256 checksum of every file you choose, then reads the files again later and reports those whose contents changed while their size and modified time didn’t: bit rot.
From two computers’ records it compares their copies, repairs a damaged copy from the good one, and backs one computer’s folders up to the other.

python bit-by-bit-backup.py
It needs Python 3.8 or later with Tkinter (on Debian or Ubuntu, sudo apt install python3-tk) and nothing else; Pillow, optional, shows the window’s icon outside Windows. pythonw starts it without a console. Starting it again brings the open window forward.
Compare scans compares two records’ checksums.
Choose the First and Second records (each computer’s in the working folder, or Browse…), then pair folders that hold the same files: D:\Photos with \NAS\Backup\Photos copy. Choose… picks a folder the record holds, with Find. Reached at says where this computer reaches a folder of another computer’s (\PC1\Photos for its D:\Photos); left blank, the app looks for the share itself. Compare lists Damaged copy, Contents differ, Different version, Only in first, Only in second and Not compared. The records are only read.
Repair first from second… and Repair second from first… list the damaged files and wait for your approval.
Each file is checked again first, so an edit made since is never overwritten, and the damaged file is kept as NAME.rotten unless Keep damaged copies is off (Damaged copies… lists them, to delete later). The repaired side’s record takes the good checksum, so the file isn’t reported again.
Protection…, after a comparison of every pair, answers “if this computer’s disk died today, what would I lose?”: each pair’s folder with its files protected (the other copy matches) and each problem (No good copy, Backup copy damaged, Damaged here, Copies differ, No copy, Other version, Not compared yet) with what to do, then each ticked folder no pair covers, in red. Export CSV saves every file that isn’t protected.
Backup makes folders on the Destination (usually another computer, through its share) match folders on the Source, from the two computers’ records, paired as in Compare scans. Under each record are its last Catalog and Verify, green when minutes ago, orange when hours, red when a day or more: run a Catalog first if they are old.
NAME.bit-by-bit-project.json with its own record, NAME.sqlite, beside it; Save project as copies only what is ticked into it.*.tmp), the end of a path (*\AppData\Local\Temp) or a full path (D:\Scratch), with * and ?. It starts with caches, temporary files and Windows’ own (Merge defaults adds any missing). Saving forgets the recorded files it now leaves out.Everything the app writes goes in its working folder (the script’s folder unless --working-folder-path says otherwise), named after the computer so several can share one folder: STUDIO-PC-bit-by-bit-backup.sqlite (the record), its settings, ignore list, logs and reports. A report cell that Excel would read as a formula (a file named =x.txt) starts with '. Checksums are SHA-256, so certutil -hashfile FILE SHA256, Get-FileHash or sha256sum can check any of them.
python bit-by-bit-backup.py --batch-command catalog-and-verify
It checks the folders last ticked in the window (or a project’s, with --project-file-path), writes what it found to the console and a log in the working folder, and exits with 0 when the run finished (problems or not), 1 when it couldn’t run, and 2 for a mistake on the command line. For Task Scheduler: a weekly trigger, the program python.exe, the arguments "C:\Path\To\bit-by-bit-backup.py" --batch-command catalog-and-verify, and “Run whether user is logged on or not”. It runs while the window is open, unless the window is checking the same record.
Every option takes a value (--name VALUE). Given at launch, the settings (the last five) fill in the window’s fields; in batch mode they apply to the run. --help lists the options with their defaults.
--working-folder-path FOLDER: the folder for the settings, record, logs and reports (blank: the script’s folder).--project-file-path PROJECT: a project to open or run (blank: this computer’s own record).--projects-folder-path FOLDER: where Load project, Save project as and Manage projects start (window only).--batch-command catalog, verify, catalog-and-verify or fold-backup-updates: run without the window (blank: open the window).--run-priority background, normal or full-speed (blank: the project’s, else the last used, else background).--verify-bypass-cache TRUE or FALSE: Verify reads from the disk, not the system’s cache (default FALSE).--show-results problems, information or all: the results shown (window only; default problems).--show-skipped TRUE or FALSE: show skipped files and folders in the results (window only; default TRUE).--repair-keep-damaged TRUE or FALSE: Repair keeps each damaged file as NAME.rotten (window only; default TRUE).
| Key | Action |
|---|---|
| F5, F6, Esc | Catalog, Verify, Stop (in Scan) |
| F1 | About |
| Space | Tick or untick the selected row in the tree |
| Shift+F10, menu key | The tree row’s menu |
| Ctrl+C | Copy the selected results’ paths |
| Ctrl+O, Ctrl+S, Ctrl+Shift+S | Load project, Save project, Save project as |
| Enter | In the path field, open the tree to it; in a pair’s folder field, find it in the folder picker |
| Double-click a heading’s right edge | Fit that column to its contents |
Version 1.0.0, updated 2026-11-16. infolific.com: https://infolific.com/technology/software-worth-using/ai-created/system-utilities/bit-by-bit-backup/

