[Gllug] Perl scripting challenge

Peter BARABAS peter.barabas at gmail.com
Wed Oct 4 15:39:19 UTC 2006


On 10/4/06, Simon Morris <simon.morris at cmtww.com> wrote:
> Hello,
>
> A quick plea/challenge to those of you who are Perl minded.
>
> I need a script that searches a file system looking for files that are
> named like so:
>
> foo.txt
> Foo.txt
> FOO.txt
> foO.tXt
>
> and so on in the same directory. Apparently someone thought that this
> would be a good idea to do!
>

Though not written in Perl, fdupes has helped me several times in
spotting duplicate files. From its manual:

"Searches the given path for duplicate files. Such files are found by
comparing file sizes and MD5 signatures, followed by a byte-by-byte
comparison."

It can also be used in interactive mode.

-- 
'(Yours parenthetically),
peter barabas.
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list