X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/2b382eff8a6f172bb01e6f0606377c6e2f6e3172..HEAD:/bin/find_duplicate diff --git a/bin/find_duplicate b/bin/find_duplicate index b7ce1ba..4844611 100755 --- a/bin/find_duplicate +++ b/bin/find_duplicate @@ -1,5 +1,3 @@ #!/bin/bash -dirs=(/home/ramsi/Movies /mnt/Skaro/Movies) - -find "${dirs[@]}" -type f -printf '%H %P\n' | sed -r 's/\{[^}]+\}.*//' | sort -k1 | uniq -Df1 +find "$@" -type f -printf '%H %P\n' | sed -r 's/\{[^}]+\}.*//' | sort -k1 | uniq -Df1