dotfiles/.local/bin/scripts/dedup-dox

7 lines
169 B
Plaintext
Raw Normal View History

#!/bin/zsh
# Deduplicate Documents
dox=$(realpath $DATA/3-*)
echo "Hardlinking:"
dedup --max-depth=9 -c sh:handler=hardlink "$dox" "$@"
dedup --max-depth=9 "$dox" "$@"