From 46be55d5ff30658c08cbf5fbf0592bfb29d60d56 Mon Sep 17 00:00:00 2001 From: Dan Church Date: Wed, 16 Nov 2022 12:48:06 -0600 Subject: [PATCH] Add README --- README.md | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..29f47c7 --- /dev/null +++ b/README.md @@ -0,0 +1,33 @@ +# Static Dir Simplifier + +Optimize directories for size by combining identical files using hard links. + +## Options + +Usage: `simplify_static_dir` **[OPTIONS]** **[DIR]...** + +| Option | Meaning +| - | - +| -f | Print a sum of the number of freed bytes. +| -m **REGEX** | Only match file paths matching **REGEX**. +| -M **REGEX** | Exclude file paths matching **REGEX**. +| -v | Verbose output. +| -z | Include zero-length files in search. Normally they are ignored (you don't save diskspace by hard-linking empty files). +| --help | Output this help message and exit. +| --version | Output version information and exit. + +By default, scans the current directory. + +## License + +Copyright (C) 2010-2022 Dan Church. + +License GPLv3: GNU GPL version 3.0 (https://www.gnu.org/licenses/gpl-3.0.html) + +with Commons Clause 1.0 (https://commonsclause.com/). + +This is free software: you are free to change and redistribute it. + +There is NO WARRANTY, to the extent permitted by law. + +You may NOT use this software for commercial purposes.