blitcp

File copier that reads in disk order, dedupes and streams over raw SSH

Copies files in physical disk order through FIEMAP, fcntl or FSCTL, bundles small files into tar batches, and copies each unique file once, hard-linking or reflinking the rest with a cross-run SQLite cache. Streams tar over raw SSH without SFTP, and reaches S3, Azure, GCS and SMB. CLI and GUI.

  • 5.9 s vs 15.0 svs cp -ar, HDD→SSD
  • 2m28 vs 3m16vs robocopy, USB 2.0

Trade-offs

  • Over SSH it is not sold on speed: a single 1.1 GB LAN run came out level with scp -r. What it adds there is verification, dedup and a resumable second run.
  • SSH transfers stream tar over raw channels with the remote's own tar, so no SFTP or remote install is needed, and duplicates are hard-linked on the far side instead of sent twice.
  • Every local copy is re-read and hashed against the source, while remote and cloud destinations only get existence, size and a hashed sample.

Q&A4

On spinning disks cp -r pays for random seeks. Reading files in their physical order turns the copy into sequential reads, which is where the HDD-to-SSD gain comes from.

Reviews

Loading reviews

    More in Idempotency

    See all 8 →
    • RRQClosed-loop payment ledger on sharded Postgres with a Kafka outbox
    • clinkC++ stream processing engine that stays correct when processes die
    • Job Scheduler PlatformDurable one-off and cron jobs posted to webhooks, with retries and a DLQ
    • Paperless NGX DedupeNear-duplicate finder for Paperless-NGX on MinHash and LSH
    • File HunterSelf-hosted catalogue of archive drives that stays searchable offline
    • FinCore EngineSelf-hosted JVM core for a double-entry ledger, payments and compliance

    More in Performance

    See all 47 →
    • FeOxDBEmbedded key-value store in Rust with write-behind durability
    • EntrolyLocal context layer that picks what coding agents send to the model
    • BigMoeOnEdgeEngine that streams MoE experts from flash to run models larger than memory
    • AntirionAI gateway in one Rust binary, with the admin console built in
    • PXALLM server tuned for Tesla P100, V100 and GTX 10-series GPUs
    • GlydLossless compression that keeps bf16 weights and KV cache smaller on the GPU

    More in CLI tools

    See all 74 →
    • ZeroboxDeny-by-default process sandbox with per-host secret injection
    • jc-rsjc rewritten as one static binary that turns command output into JSON
    • pistachioDeclarative PostgreSQL schema management with a plan and apply workflow
    • quiverDump, load, copy and stream MySQL, MariaDB and TiDB from one consistent snapshot
    • haxMinimalist terminal coding agent written in C
    • roam-codeLocal code index and checks that coding agents can query