Forgot Password
Pentax Camera Forums Home
 

Reply
Show Printable Version Search this Thread
05-06-2013, 08:43 AM   #1
Site Supporter
Spodeworld's Avatar

Join Date: Aug 2011
Location: New Joisey
Photos: Gallery | Albums
Posts: 1,240
File naming when you have more than one Pentax

Some cameras allow you to change the prefix of a file name (file naming convention) so that if you have 2 K5s, for example, you may have one K5 name its files K5A_XXXX and the other K5B_XXXX. This way you not only know which camera you used, but also it prevents potential conflicts of 2 cameras producing files with the same file name.

I can see this happening when you don't have a Pentax that allows you to change your file naming convention by changing the prefix (from IMGP to something else). All images would start with the default IMGP prefix. So, if you used 2 cameras, they may each produce an image file with a name, say, IMGP_100.DNG. Then you have the issue of dealing different image files with the same name if you want to download them to the same folder (and there may be reasons for keeping them together).

Does anyone have any practical advice for addressing this (beyond, don't get 2 cameras where you can't assign file naming conventions, or don't put files in the same folder....)?

Thanks

05-06-2013, 08:49 AM   #2
Veteran Member
tclausen's Avatar

Join Date: May 2012
Posts: 1,399
When importing, at least in Aperture, you can ask Aperture to rename the originals to stuff such as "K5A_MyFancyPrefixJustToHaveOne-<orignal-filename>.DNG" to your liking.

I'd gather that this is the same for all import tools (and for those where it's not, a simple bash script run on the memory card after connecting to the computer and before importing, should do the trick).
05-06-2013, 09:36 AM   #3
Pentaxian
Just1MoreDave's Avatar

Join Date: Feb 2007
Location: Aurora, CO
Photos: Gallery | Albums
Posts: 4,858
Have one camera use PEFs, the other use DNGs?
05-06-2013, 09:44 AM   #4
Site Supporter
Spodeworld's Avatar

Join Date: Aug 2011
Location: New Joisey
Photos: Gallery | Albums
Posts: 1,240
Original Poster
tclausen - I prefer to drag and drop rather than use an importer....although it is a pretty good idea....your bash script sounds like a good idea too...if I knew how to do that!

05-06-2013, 09:47 AM   #5
Veteran Member
tclausen's Avatar

Join Date: May 2012
Posts: 1,399
QuoteOriginally posted by Spodeworld Quote
tclausen - I prefer to drag and drop rather than use an importer....although it is a pretty good idea....your bash script sounds like a good idea too...if I knew how to do that!
Something like this (try at your own risk, suggest copying a pile of files somewhere to test on, rather than kill your main repository):

for i in *.dng; do mv $i K5A_$i; done
05-06-2013, 10:43 AM   #6
Site Supporter
Spodeworld's Avatar

Join Date: Aug 2011
Location: New Joisey
Photos: Gallery | Albums
Posts: 1,240
Original Poster
Is this something I would do in a DOS prompt? I have Windows 7. Or are we talking Linux here?

Actually, what I would like to do is leave the numbering in, just change to IMGP to K01A or something like that so that it would move from IMGP_1021 to K01A_1021.


QuoteOriginally posted by tclausen Quote
Something like this (try at your own risk, suggest copying a pile of files somewhere to test on, rather than kill your main repository):

for i in *.dng; do mv $i K5A_$i; done

05-06-2013, 10:52 AM   #7
Site Supporter
Spodeworld's Avatar

Join Date: Aug 2011
Location: New Joisey
Photos: Gallery | Albums
Posts: 1,240
Original Poster
I may have found a solution. I saw an article on Lifehacker for something called Bulk Rename Utility. It is a Windows utility. It looks like it allows partial string replacements.


Introduction - Bulk Rename Utility
05-06-2013, 11:04 AM   #8
Veteran Member
tclausen's Avatar

Join Date: May 2012
Posts: 1,399
QuoteOriginally posted by Spodeworld Quote
Is this something I would do in a DOS prompt? I have Windows 7. Or are we talking Linux here?

Actually, what I would like to do is leave the numbering in, just change to IMGP to K01A or something like that so that it would move from IMGP_1021 to K01A_1021.
Should work on any system that comes with a Bourne (compatible) shell. That includes most Unices (such as MacOS) and derivatives (such as Linux) and I'm given to understand that Windows with something called "cygnus" should offer a Bourne compliant shell also.

That said, I upgraded from Windows back when it was in version 2.0 (I think in the 80es or early 90es?), and have not used it since, so perhaps somebody else can verify?

05-06-2013, 11:06 AM   #9
Pentaxian
Zafar Iqbal's Avatar

Join Date: Oct 2010
Photos: Gallery
Posts: 1,167
I use 2 for weddings and other events - I use following naming scheme:

ziYYMMDD_HHMMSS_SHOT#, where SHOT# is the number from the camera. I don't really need that part but have it for convenience. Dates and times are capture related.
05-06-2013, 11:18 AM   #10
Veteran Member
Ken T's Avatar

Join Date: Mar 2008
Location: California, USA
Posts: 537
I can set my K-20D to name file to K20Dxxxx, but can not doing so with the K30
05-06-2013, 12:32 PM   #11
Site Supporter
Spodeworld's Avatar

Join Date: Aug 2011
Location: New Joisey
Photos: Gallery | Albums
Posts: 1,240
Original Poster
Hi Zafar,

I assume you are talking about in camera naming? The problem is if the camera doesn't allow you to tailor the file naming convention. If not, you are stuck with IMGP_SHOT#, at least in the camera. My K20D allows me to assign one camera K20A_SHOT# and the other K20B_SHOT#. My K-01 doesn't allow file naming tailoring. That's why I was looking for a solution as I am thinking of getting a K30 and since that can't be tailored either, it is possible that images from the K-01 and K30 may have the exact same names (and some of my early K20D shots before I realized this functionality was available). I guess the solution is an external renaiming tool if it can't be done in camera.

QuoteOriginally posted by Zafar Iqbal Quote
I use 2 for weddings and other events - I use following naming scheme:

ziYYMMDD_HHMMSS_SHOT#, where SHOT# is the number from the camera. I don't really need that part but have it for convenience. Dates and times are capture related.
05-06-2013, 12:33 PM   #12
Site Supporter
Spodeworld's Avatar

Join Date: Aug 2011
Location: New Joisey
Photos: Gallery | Albums
Posts: 1,240
Original Poster
Right. I have 2 K20Ds (as I noted above) and I find that functionality very convenient. I am thinking of getting the K30 and it concerns me.

QuoteOriginally posted by Ken T Quote
I can set my K-20D to name file to K20Dxxxx, but can not doing so with the K30
05-06-2013, 12:39 PM   #13
Site Supporter
Spodeworld's Avatar

Join Date: Aug 2011
Location: New Joisey
Photos: Gallery | Albums
Posts: 1,240
Original Poster
Actually, I don't even think that that option exists with the newer cameras.

QuoteOriginally posted by Just1MoreDave Quote
Have one camera use PEFs, the other use DNGs?
05-06-2013, 01:12 PM   #14
Moderator PEG Judges
Kerrowdown's Avatar

Join Date: Aug 2008
Location: Highlands of Scotland.
Photos: Gallery
Posts: 32,662
I believe its possible to batch rename with both Bridge and Lightroom.
05-06-2013, 01:17 PM - 1 Like   #15
Senior Moderator
Loyal Site Supporter
Parallax's Avatar

Join Date: Apr 2008
Location: South Dakota
Photos: Gallery
Posts: 15,613
I use Bulk Rename Utility. It's free and extremely versatile.
Reply

Bookmarks
  • Submit Thread to Facebook Facebook
  • Submit Thread to Twitter Twitter
  • Submit Thread to Digg Digg
Tags - Make this thread easier to find by adding keywords to it!
camera, cameras, change, convention, file, files, image, imgp, name, pentax, pentax help, photography, prefix
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
You know you have LBA when.. wolfiegirl Pentax SLR Lens Discussion 250 11-11-2014 01:48 AM
Shoot more than just Pentax? Here's a new site for you! Adam Non-Pentax Cameras: Canon, Nikon, etc. 55 02-02-2014 07:42 AM
Hi all im new do you have room for one more chris071158 Welcomes and Introductions 6 05-05-2012 01:58 PM
Hi all im new do you have room for one more chris071158 Welcomes and Introductions 4 05-05-2012 01:17 PM
When more than just a camera is needed RioRico Photographic Technique 7 12-27-2011 12:43 PM



All times are GMT -7. The time now is 05:36 AM. | See also: NikonForums.com, CanonForums.com part of our network of photo forums!
  • Red (Default)
  • Green
  • Gray
  • Dark
  • Dark Yellow
  • Dark Blue
  • Old Red
  • Old Green
  • Old Gray
  • Dial-Up Style
Hello! It's great to see you back on the forum! Have you considered joining the community?
register
Creating a FREE ACCOUNT takes under a minute, removes ads, and lets you post! [Dismiss]
Top