Windows Copy Manager
Squeue
A copy manager for Windows that verifies every file it writes, survives a crash or an unplugged drive mid-transfer, and resumes exactly where it stopped.

Why it exists
Windows copying fails quietly. I wanted to know my files actually arrived, and to pick up where I left off when a drive got unplugged.
What it took
01Making crash recovery a property of the storage layer rather than the copy loop: a SQLite journal in synchronous=FULL that commits before every method returns, so the copier can assume any state it has written already survives a power cut.
02Verifying a copy against the disk rather than the page cache by reading through FILE_FLAG_NO_BUFFERING, which requires allocating sector-aligned native memory at a 4096-byte boundary instead of a managed buffer.
03Writing to a temporary name and reconciling into place only after the hash matches, so a destination file is either absent or correct and never left half-written under its final name.
04Expressing drive contention as a pure scheduling function — one job per physical drive, no job starting ahead of an earlier one that shares a disk — so the starvation and queue-jumping rules are table-tested instead of observed.
Built with
Screens


