Last active
December 25, 2018 18:29
-
-
Save gwpl/8fe20a7634e821be4760e9c23cada4c5 to your computer and use it in GitHub Desktop.
rmlint_example_usage.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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