I have had a dig around in Lightroom but nothing leaps out as an easy way to do it. However, I don't think you need to use Delphi to do what you want - it should be quite straightforward to do with a batch script in Windows.
I'd need to refresh my knowledge of this quite a bit to come up with a working script, but your starter for 10 is something like this: for %%f in (*.jpg) do if exist %%f.dng del %%f.jpg Your challenge is to split the extension off the variable and replace it with .dng -- Bob > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of graywolf > Sent: 31 December 2007 17:40 > To: Pentax-Discuss Mail List > Subject: Re: Lightroom question (Godfrey?) > > I it were unix/linux a simple script would do it, in > windblows I have never found a simple way to do it. Maybe > someone will come up with one, so I will watch this thread. > > I have a program (freeware, I think) called winmerge that > can do some interesting things like compare files and merge > in the ones that are missing. That I think can do what you > want, but he interface is not what I would call easy to > figure out. > > Graywolf (Tom Rittenhouse) > Website: http://www.graywolfphoto.com > Blog: http://www.graywolfphoto.com/journal/ > -------------------------------------------------------------- > --------- > > Thibouille wrote: > > I discovered I have multiple copies of some pictures in my > Lightroom library. > > The thing is one copy is Dng and the other is Jpeg. > > > > I don't want to kill all Jpegs since some pictures are only > available in Jpeg. > > I would simply wanna kill all Jpeg copies which also exist > in Dng format. > > > > Is there a way to do that in Lightroom or shall I program > that myself > > with mighty Delphi ? > > > > Thanks ! > > > > -- > PDML Pentax-Discuss Mail List > PDML@pdml.net > http://pdml.net/mailman/listinfo/pdml_pdml.net > to UNSUBSCRIBE from the PDML, please visit the link directly > above and follow the directions. > > -- PDML Pentax-Discuss Mail List PDML@pdml.net http://pdml.net/mailman/listinfo/pdml_pdml.net to UNSUBSCRIBE from the PDML, please visit the link directly above and follow the directions.