rmlint: don't output a json file
This commit is contained in:
@@ -3,7 +3,7 @@ set -ex
|
|||||||
# script to reclaim some hard drive space
|
# script to reclaim some hard drive space
|
||||||
sudo nix-collect-garbage
|
sudo nix-collect-garbage
|
||||||
# identify duplicate files in the nix store
|
# identify duplicate files in the nix store
|
||||||
rmlint --types="duplicates" --config=sh:handler=clone --output=sh:/tmp/rmlint.sh --progress /nix/store
|
rmlint --types="duplicates" --config=sh:handler=clone --output=sh:/tmp/rmlint.sh --output=json:/dev/null --progress /nix/store
|
||||||
# link the dupes together (uses ioctl_fideduperange)
|
# link the dupes together (uses ioctl_fideduperange)
|
||||||
# see: https://btrfs.wiki.kernel.org/index.php/Deduplication
|
# see: https://btrfs.wiki.kernel.org/index.php/Deduplication
|
||||||
# see: https://rmlint.readthedocs.io/en/latest/tutorial.html
|
# see: https://rmlint.readthedocs.io/en/latest/tutorial.html
|
||||||
|
Reference in New Issue
Block a user