oferchen/rsync — reverse-engineered prompt

Reverse engineered prompt

GitHub

Build me a pure Rust command line app called oc rsync that behaves like classic rsync, but can be installed next to the normal rsync without replacing it.

I want it to work as a drop in replacement for common rsync use. It should copy and sync files locally, over SSH, and in daemon mode. Please support the usual rsync options people expect, like preserving permissions, timestamps, owners, groups, ACLs, extended attributes, symlinks, hardlinks, sparse files, deletes, includes, excludes, filters, partial transfers, inplace updates, and batch files.

It should use the rsync delta transfer idea so it does not resend whole files when only parts changed. Add compression support, checksums, progress and info output, and make the behavior match upstream rsync as closely as possible.

Target Linux and macOS first, with basic Windows support where possible. Include a man page, useful docs, tests against real rsync behavior, and packaging scripts so it feels like a real tool. Look up current rsync protocol docs online if you need to.

Want more depth? Deep Reverse