Skip to content

Deduplicate read-only files on a UNIX filesystem

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

SolraBizna/archival-dedupe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Installation

cargo install archival-dedupe

Legalese

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.

About

Deduplicate read-only files on a UNIX filesystem

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages