Re: Images admin

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 02, 2004 at 11:44:02PM +1100, Daniel Hedlund wrote:
On Fri, 2004-01-02 at 23:01, Pablo Rodr??guez Gonz??lez wrote:
Hi guys,

I want to delete automatically duplicated photos -equal size,
description, etc-. Applications as gphoto aren't valid, because it shows
me duplicated photos, but doesn't erase them automatically, I've to mark
them one by one -or I don' know-

Any idea?
....

Some other programs that can detect duplicate images are below. GQview makes it fairly easy to find duplicates and you can select multiple

A more general answer, this little script can be used to discover duplicate files of many types in a system. I find it usefull when moving piles of stuff from one machine to another where overlaps and duplicates are possible. N.B. that d41d8cd98f00b204e9800998ecf8427e is the md5sum for an empty file. There is no auto remove because it is unclear which of the two should be tossed. A sub shell from inside of "less" makes cut and paste deletion decisions simple.

- - -  snip look4duplicates ----
#!  /bin/bash
#  look4duplicates
#SIZER=' -size +10240k'
SIZER=' -size +0'
#SIZER=""
DIRLIST=". "
find $DIRLIST  -type f $SIZER -print0 | xargs -0 md5sum |\
	egrep -v "d41d8cd98f00b204e9800998ecf8427e" |\
sort > /tmp/looking4duplicates
tput bel; sleep 2
cat /tmp/looking4duplicates |  uniq --check-chars=32 --all-repeated=prepend | less
- - -  snip ----




[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux