On 5.1.2011 13:15, S Mathias wrote:
> find duplicate filenames in a folder
> find | perl -ne 's!([^/]+)$!lc $1!e; print if 1 == $seen{$_}++'
>
> find duplicate filenames in a folder recursively
> ? how?
>
$ sudo aptitude install fdupes
--
Q: What's the difference between the 1950's and
>> On Wed, 5 Jan 2011 03:15:01 -0800 (PST),
>> S Mathias said:
S> find duplicate filenames in a folder recursively? how?
It's a (pretty ugly) one-liner if you have something to reverse strings
in a file. Put this in (say) /usr/local/bin/rev:
#!/usr/bin/perl -n
chomp;
prin
find duplicate filenames in a folder
find | perl -ne 's!([^/]+)$!lc $1!e; print if 1 == $seen{$_}++'
find duplicate filenames in a folder recursively
? how?
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@l
3 matches
Mail list logo