[Techtalk] interesting photo management problem-- weeding out duplicates
Miriam Ruiz
miriam at debian.org
Sun Apr 27 22:56:00 UTC 2014
2014-04-28 0:40 GMT+02:00 Carla Schroder <carla at bratgrrl.com>:
> Thoughts? Brainstorms? I also looked at the Organize command included
> in Exiv2, but I couldn't get it to build on my system.
I kind of do more or less the same, but using the program fdupes:
b=""
fdupes tmp/ --recurse | \
while read f
do
if [ "$f" = "" ]
then
b=""
else
if [ "$b" = "" ]
then
b="$f"
else
rm "$f" && echo "Remove \"$f\""
ln -v "$b" "$f"
fi
fi
done
Greetings,
Miry
More information about the Techtalk
mailing list