README improvements

Modified the README to include installation instructions
and synchronized command line and README usage message.
This commit is contained in:
Lee Ockert
2022-07-19 12:04:22 -04:00
parent 56b6d79d54
commit 74a98e499e
3 changed files with 103 additions and 43 deletions

View File

@ -21,18 +21,26 @@
############################################################################
printusage() {
echo "
DIRECTORY DE-DUPLICATION (\"Dirty Dupe\")
DIRECTORY DE-DUPLICATOR
${0} [--execute] masterdir shadowdir
USAGE
For each file in shadowdir, replace it with a hard link to the matching file
(if any) in masterdir. A file will be considered a match if, and only if, it
shares the same file name, relative path, and contents.
dirdedupe.sh [--execute] masterdir shadowdir
DESCRIPTION
For each file in shadowdir, replace it with a hard link to the matching file
(if any) in masterdir. A file will be considered a match if, and only if,
it shares the same file name, relative path, and contents.
OPTIONS
--execute Actually remove and link duplicate files. By default, this
--execute Actually remove and link duplicate files. By default, this
program runs in test mode.
MISC
The name of this utility is pronounced "dirty dupe."
"
}