From 6d9afeab7f07c9183e62771661820ad6e27349f2 Mon Sep 17 00:00:00 2001 From: Darryl Nixon Date: Sun, 16 Jul 2023 17:40:32 -0700 Subject: [PATCH] Update example --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 94cd3b4..a5b3435 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,6 @@ rm -rf /tmp/melamine_hardlinks && mkdir -p /tmp/melamine_hardlinks; for i in $(seq 1 4); do dd if=/dev/urandom of=/tmp/melamine/test_$i bs=1 count=$(( RANDOM % 256 * 256 )); done; ln /tmp/melamine/test_1 /tmp/melamine_hardlinks/hardlink_1; ln /tmp/melamine/test_2 /tmp/melamine_hardlinks/hardlink_2; -melamine --recursive /tmp/melamine ``` You can then confirm that the two hardlink inodes match using `ls -li`. @@ -80,6 +79,12 @@ ls -li /tmp/melamine/test_*; ls -li /tmp/melamine_hardlinks/hardlink_*; ``` +Then, run melamine with: + +```bash +melamine --recursive /tmp/melamine +``` + ## Contributing If you would like to contribute to this project, feel free to submit a pull request or open an issue on GitHub.