Crates.io | archival-dedupe |
lib.rs | archival-dedupe |
version | 1.0.0 |
source | src |
created_at | 2023-04-23 00:26:43.083341 |
updated_at | 2023-04-23 00:26:43.083341 |
description | Deduplicate read-only files on a UNIX filesystem |
homepage | https://github.com/SolraBizna/archival-dedupe |
repository | |
max_upload_size | |
id | 846259 |
size | 59,578 |
This is a utility that deduplicates files on a UNIX filesystem. It's suitable only for files that won't change anymore, e.g. multiple released versions of the same game.
It uses hardlinks to coalesce multiple copies of "the same" file together. Any deduplicated file will have write permissions revoked. The oldest copy of a file will be used as the "original", and therefore the modified time (etc.) will be that of the oldest file.
If files change out from under this utility while it's running, it will try to notice and stop what it's doing, but you might fool it into doing something silly, so be careful.
cargo install archival-dedupe
archival-dedupe
is copyright 2023, Solra Bizna, and licensed under either of:
at your option.
Unless you explicitly state otherwise, any contribution intentionally
submitted for inclusion in the archival-dedupe
crate by you, as defined
in the Apache-2.0 license, shall be dual licensed as above, without any
additional terms or conditions.