On Mon, 30 Sep 2002, Trev wrote:
> If there are files with the same name but have a different .ext or none, i
> want to list these.
>
> And lastly, i think, if there are files with the same size/date/time but have
> a different name, i want to list these.
With the power of the command line...this will give you a list:
find . -printf '%f\t%h%f\n' | sort | uniq -d -W1
explanation:
find . -printf '%f\t%h%f\n'
This command prints out all files in the format
'<name> <directory><name>'
sort
This command sorts all the files, so files with the same name are next
to each other in the list
uniq -d -W1
This command prints out all duplicated items, looking only at the first
field, which is any characters before a '.', space or tab.
tim
http://www.cosc.canterbury.ac.nz/~tnw13
Quidquid latine dictum sit, altum viditur.