Re: Lightroom question (Godfrey?)

2008-01-01 Thread P. J. Alling
The modern versions of VB will let you do it.  In the bad old days you'd 
need a batch script or two and a specially written exe or two to get it 
done, (don't ask how I know that, I might give some details). 

graywolf wrote:
 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 !

 

   


-- 
I am personally a member of the Cream of the Illuminati. 
A union with the Bavarian Illuminati is contemplated. 
When it is complete the Bavarian Cream Illuminati will rule the world
-- Anonymous 


-- 
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.


RE: Lightroom question (Godfrey?)

2008-01-01 Thread Bob W
I've just tested it from the command line (therefore using % instead
of %%) and it works. 

It only finds files in the current directory, although it can easily
be changed to search other directories. If there are no .jpg files, or
no matching .dng files then it won't do anything. In other words, if
you have a file called waters.jpg and a copy of the picture in a file
called roger.dng it won't recognise that they are the same.

--
 Bob
 

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 
 Behalf Of David J Brooks
 Sent: 31 December 2007 23:50
 To: Pentax-Discuss Mail List
 Subject: Re: Lightroom question (Godfrey?)
 
 I replaced del with echo and all i got was Is there any body out
 there, que Pink Floyd
 
 Dave
 
 On Dec 31, 2007 2:03 PM, Bob W [EMAIL PROTECTED] wrote:
  I've accepted the challenge I set you, and come up with an answer:
 
  for %%f in (*.jpg) do if exist %%~nf.dng del %%~nf.jpg
 
  I haven't tested this as written, so it's at your own risk. 
 You could
  try replacing 'del' with 'echo' to see what will be deleted.
 
  --
   Bob
 
 
   -Original Message-
   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
   Behalf Of Bob W
   Sent: 31 December 2007 18:11
   To: 'Pentax-Discuss Mail List'
 
   Subject: RE: Lightroom question (Godfrey?)
  
   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.
  
  
 
 
  --
  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.
 
 
 
 
 -- 
 Equine Photography
 www.caughtinmotion.com
 http://brooksinthecountry.blogspot.com/
 Ontario Canada
 
 -- 
 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.


Re: Lightroom question (Godfrey?)

2008-01-01 Thread Thibouille
Thanks to all who responded to my problem.
I will try and see what solution seems the best for me.

I will let you know what I used.

As usual I notice Godfrey knows about any bits from Lightroom.
Godfrey, were you involved in the coding of it or something? ;)

Cheers... and Happy New Year to you all !!
-- 
Thibault Massart aka Thibouille
--
Photo: K10D,Z1,SuperA,KX,MX, P30t and KR-10x ;) ...
Thinkpad: X23+UB,X60+UB
Programing: D7 user (trying out D2007)

-- 
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.


Re: Lightroom question (Godfrey?)

2008-01-01 Thread Godfrey DiGiorgi
On Jan 1, 2008, at 3:44 AM, Thibouille wrote:
 ... As usual I notice Godfrey knows about any bits from Lightroom.
 Godfrey, were you involved in the coding of it or something? ;)

No, but I use it all day, every day, and study it in order to exploit  
it to the max. :-)

HNY!

Godfrey

-- 
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.


Re: Lightroom question (Godfrey?)

2008-01-01 Thread P. J. Alling
It would be possible to check for byte by byte comparisons, by using
FC a dos utility available on all windows systems to delete
duplicate files no matter what their name, I'm sure that linux/unix has
such a utility but I can't remember it's name right now.  There are
several problems to overcome, none of which will solve the most
important one.  There must be a way for the computer to recognize a
duplicate image, not a duplicate file.  It's easy enough to write
something that will delete files with the same name in the same or
different directories.  A bit more complicated to recognize and delete
duplicate files with different names, (and this begins to become time
consuming), but I know of no foolproof method to automate deletion of
duplicate visual images,  at least not with the computing power
available in a PC or Mac.

Bob W wrote:
 I've just tested it from the command line (therefore using % instead
 of %%) and it works. 

 It only finds files in the current directory, although it can easily
 be changed to search other directories. If there are no .jpg files, or
 no matching .dng files then it won't do anything. In other words, if
 you have a file called waters.jpg and a copy of the picture in a file
 called roger.dng it won't recognise that they are the same.

 --
  Bob
  

   
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 
 Behalf Of David J Brooks
 Sent: 31 December 2007 23:50
 To: Pentax-Discuss Mail List
 Subject: Re: Lightroom question (Godfrey?)

 I replaced del with echo and all i got was Is there any body out
 there, que Pink Floyd

 Dave

 On Dec 31, 2007 2:03 PM, Bob W [EMAIL PROTECTED] wrote:
 
 I've accepted the challenge I set you, and come up with an answer:

 for %%f in (*.jpg) do if exist %%~nf.dng del %%~nf.jpg

 I haven't tested this as written, so it's at your own risk. 
   
 You could
 
 try replacing 'del' with 'echo' to see what will be deleted.

 --
  Bob


   
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of Bob W
 Sent: 31 December 2007 18:11
 To: 'Pentax-Discuss Mail List'
 
 Subject: RE: Lightroom question (Godfrey?)

 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.


 
 --
 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.
 

 -- 
 Equine Photography
 www.caughtinmotion.com
 http://brooksinthecountry.blogspot.com/
 Ontario Canada

 -- 
 PDML Pentax-Discuss Mail List
 PDML@pdml.net
 http://pdml.net

Re: Lightroom question (Godfrey?)

2008-01-01 Thread Mark Roberts
P. J. Alling wrote:

It would be possible to check for byte by byte comparisons, by using
FC a dos utility available on all windows systems to delete
duplicate files no matter what their name, I'm sure that linux/unix has
such a utility but I can't remember it's name right now.  There are
several problems to overcome, none of which will solve the most
important one.  There must be a way for the computer to recognize a
duplicate image, not a duplicate file. 

If one is in JPEG format and the other is in a straight bitmapped 
format like TIFF/RAW/DNG they won't be the same image, technically. 
They certainly won't be the same byte-for-byte. Not even close.


-- 
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.


Re: Lightroom question (Godfrey?)

2008-01-01 Thread P. J. Alling
I was responding to someone who made the complaint that they couldn't 
delete the same image with different names.  Just going through all the 
reasons it would be difficult or impossible.  (I kind of thought your 
point was implied).

Mark Roberts wrote:
 P. J. Alling wrote:

   
 It would be possible to check for byte by byte comparisons, by using
 FC a dos utility available on all windows systems to delete
 duplicate files no matter what their name, I'm sure that linux/unix has
 such a utility but I can't remember it's name right now.  There are
 several problems to overcome, none of which will solve the most
 important one.  There must be a way for the computer to recognize a
 duplicate image, not a duplicate file. 
 

 If one is in JPEG format and the other is in a straight bitmapped 
 format like TIFF/RAW/DNG they won't be the same image, technically. 
 They certainly won't be the same byte-for-byte. Not even close.


   


-- 
I am personally a member of the Cream of the Illuminati. 
A union with the Bavarian Illuminati is contemplated. 
When it is complete the Bavarian Cream Illuminati will rule the world
-- Anonymous 


-- 
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.


Re: Lightroom question (Godfrey?)

2008-01-01 Thread Mark Roberts
P. J. Alling wrote:


I was responding to someone who made the complaint that they couldn't 
delete the same image with different names.  Just going through all the 
reasons it would be difficult or impossible.  (I kind of thought your 
point was implied).

Ah, sorry. That's what I get for not reading the discussion from the 
beginning.

I think there is software that will do this byte-for-byte comparison to 
find duplicate images, but I've never looked into it because *my* 
problem is having multiple copies of an image that are almost, but *not 
quite* identical ;-)
 

-- 
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.


Lightroom question (Godfrey?)

2007-12-31 Thread Thibouille
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 !

-- 
Thibault Massart aka Thibouille
--
Photo: K10D,Z1,SuperA,KX,MX, P30t and KR-10x ;) ...
Thinkpad: X23+UB,X60+UB
Programing: D7 user (trying out D2007)

-- 
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.


Re: Lightroom question (Godfrey?)

2007-12-31 Thread graywolf
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.


RE: Lightroom question (Godfrey?)

2007-12-31 Thread Bob W
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.


RE: Lightroom question (Godfrey?)

2007-12-31 Thread Bob W
I've accepted the challenge I set you, and come up with an answer:

for %%f in (*.jpg) do if exist %%~nf.dng del %%~nf.jpg

I haven't tested this as written, so it's at your own risk. You could
try replacing 'del' with 'echo' to see what will be deleted.

--
 Bob
 

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On 
 Behalf Of Bob W
 Sent: 31 December 2007 18:11
 To: 'Pentax-Discuss Mail List'
 Subject: RE: Lightroom question (Godfrey?)
 
 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.
 
 


-- 
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.


Re: Lightroom question (Godfrey?)

2007-12-31 Thread Godfrey DiGiorgi
On Dec 31, 2007, at 3:08 AM, 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 ?

The problem can be simple or complex to solve depending on the  
following issues:

- whether or not the file names are the same up to the extension  
(IMGP2002.jpg and IMGP2002.dng, for example, indicate a high  
likelihood that you have the same image in two different file  
representations; however, you might have 'birthday-2005.jpg' and  
IMGP2002.dng which are actually the same image).

- whether or not you have edited and want to save a particular JPEG  
rendering in addition to a DNG rendering of the image at hand (you  
might have a JPEG rendering which is identical to what you have done  
to the current DNG, but then again you might have edited one or the  
other further).

- whether the metadata is preserved in your JPEG files.

I selected about 800 images drawn from several libraries that I  
needed to coalesce into the unique files. Try as I might, I could not  
think of a logical way to accommodate all three of the above issues  
via scripting alone. What I did was to use Lightroom's Library/Grid  
view and the metadata browser along with the various Pick and Quick  
Collection tools to winnow out the unique ones. The methodology I  
used was multiple passes like the following:

- Select all
- set the Pick flags to null
- set the color labels to none
- unselect all
- set sort by capture time
- use metadata browser to select all JPEGs
- set JPEGs to red

If the metadata is there in all the files, you can see which have  
duplicates pretty quickly. Walk through them fast and mark all the  
duplicates with a Pick flag or put them in the quick collection. Once  
you've got them in the quick collection, or with pick flags, filter  
the view to just those, select all. Turn off the filter (the selected  
ones will be highlighted), invert the selection (you've now got the  
uniques selected) and create a collection including all the unique ones.

Now go to the Quick collection and walk through the duplicates, you  
should see which are JPEG and which are DNG (or whatever) pretty  
easily. Mark those which you want to delete from library or disk with  
a delete flag. When you're sure, use the filtering to get just those  
up, delete them, and scan through the whole set again to find any  
other duplications with variant names, etc.

My path through this was complicated by the fact that I had not just  
DNG and JPEGs to sort out but other potential duplicates in TIFF and  
PSD format as well. It took me a day or so to get that 800 files  
edited down to the unique and best 460 or so, all in DNG or TIFF/PSD  
format with the edits I wanted.

Godfrey

-- 
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.


Re: Lightroom question (Godfrey?)

2007-12-31 Thread David J Brooks
I replaced del with echo and all i got was Is there any body out
there, que Pink Floyd

Dave

On Dec 31, 2007 2:03 PM, Bob W [EMAIL PROTECTED] wrote:
 I've accepted the challenge I set you, and come up with an answer:

 for %%f in (*.jpg) do if exist %%~nf.dng del %%~nf.jpg

 I haven't tested this as written, so it's at your own risk. You could
 try replacing 'del' with 'echo' to see what will be deleted.

 --
  Bob


  -Original Message-
  From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
  Behalf Of Bob W
  Sent: 31 December 2007 18:11
  To: 'Pentax-Discuss Mail List'

  Subject: RE: Lightroom question (Godfrey?)
 
  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.
 
 


 --
 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.




-- 
Equine Photography
www.caughtinmotion.com
http://brooksinthecountry.blogspot.com/
Ontario Canada

-- 
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.