Update example

This commit is contained in:
Darryl Nixon 2023-07-16 17:40:32 -07:00
parent 73ee192dc3
commit 6d9afeab7f

View file

@ -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.