Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
rmlint_example_usage.sh
# more info: https://rmlint.readthedocs.io/en/latest/tutorial.html?highlight=hardlink
# generate script that hardlinks (if you have btrfs or other CoW use reflink or clone)
#rmlint -o sh:rmlint.sh -c sh:hardlink # <- for small outputs
rmlint -o sh:stdout -c sh:hardlink|tee >( xz > rmlint.sh.xz ) # <- for big outputs
#with -p -> paranoia , check files again before removing
./rmlint.sh -x -p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.