Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
-
kopia
Cross-platform backup tool for Windows, macOS & Linux with fast, incremental backups, client-side end-to-end encryption, compression and data deduplication. CLI and GUI included.
What you're looking for is deduplication. There're different kinds. The simplest is file-level deduplication, where identical files are stored only once. The nest simplest is block-level deduplication, where each file is split into fixed-sized chunks, and each unique chunk is stored only once. The most effective, though, is rolling deduplication, where a rolling checksum of the data is kept, and used to deduplicate blocks that are the same, but not at the same offset within a file. An example of a (backup) tool that can do this is Borg Backup.
yes (WSL/cygwin) but if you want to go that route take also a look at https://kopia.io/