[Techtalk] interesting photo management problem-- weeding out duplicates
Carla Schroder
carla at bratgrrl.com
Mon Apr 28 00:57:36 UTC 2014
On Mon, 28 Apr 2014 00:56:00 +0200
Miriam Ruiz <miriam at debian.org> wrote:
> 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:
>
This is the first time I have heard of fdupes. It looks good for taming
my photo archives.
> 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
> _______________________________________________
> Techtalk mailing list
> Techtalk at linuxchix.org
> http://mailman.linuxchix.org/mailman/listinfo/techtalk
--
++++++++++++++++++++++++++++++++++++++++
Ace Linux guru +
carlaschroder.com +
Everything mortal has moments immortal +
++++++++++++++++++++++++++++++++++++++++
More information about the Techtalk
mailing list