PentaxForums.com


Go Back PentaxForums.com > Photography > Post Processing, Printing, Software, and Darkroom > File Extension - lowercase?

Post Processing, Printing, Software, and Darkroom Discuss photo printing, scanning, editing, and enchancement methods here.

Reply
Translations: Chinese Czech Danish Dutch English Finnish French German Greek Hungarian Italian Japanese Korean Norwegian Polish Portuguese Russian Slovak Spanish Swedish  
Show Printable Version Search this Thread
05-29-2009, 10:06 AM   #1
New Member
File Extension - lowercase?

This is my first post here, and I tried searching for the answer so i apologize if it is listed in another thread somewhere.


Is there a way to specify the file extension as lowercase letters? Instead of IMG0001.PEF it would be IMG0001.pef. I have been playing around with qtpfsgui and it annoyingly only seems to recognize lowercase extensions.

Also, if there are any Linux users out there that have any recommendations on good programs to manage RAW images I would love to hear the suggestions. I have a few I am trying to play around with to see what works best for me.
 
05-29-2009, 11:05 AM   #2
Pentaxian
Welcome "Sir Anthony"

There's no way in-camera to force the file naming to lower case.

As far as photo management in linux goes, digiKam is what I used. I *think* there's an option in its settings to tell it to lowercase the file names as it downloads your RAW & JPG images from the camera/card. It will organize, keyword tag, assign default EXIF/IPTC data, etc.

For RAW processing and editing I used LightZone (lightcrafts.com). There are others - RawStudio, UFRaw for example - but I found LightZone to be the most comprehensive, intuitive and compatible with the K20D color profile. It does cost $99 (used to be $199) but it's worth it for the peace of mind and functionality, in my opinion.
 
05-29-2009, 11:31 AM   #3
Site Supporter
In linux you can use the rename command to batch rename the files with lowercase extensions, but you have to know regex (regular expressions) which I don't so I can't help you with the exact syntax except to tell you to google it ... It also wouldn't be that hard to cobble together a shell script to do this for you. I could muddle through the script solution myself, but I'm too busy right now.
 
05-29-2009, 12:51 PM   #4
Site Supporter
Can you try this little script. It is kind of mundane but illustrates the renaming to lower case:

-----------------------------------------------------------------------
#!/bin/csh -f

foreach file (*JPG)
set first = `echo ${file} | cut -d "." -f 1`
set second = `echo ${file} | cut -d "." -f 2`
set firstlower = `echo ${first} | tr "A-Z" "a-z"`
set secondlower = `echo ${second} | tr "A-Z" "a-z"`
echo "** Rename ${first}.${second} to ${firstlower}.${secondlower}"
mv ${first}.${second} ${firstlower}.${secondlower}
end

exit
-----------------------------------------------------------------------
 
05-29-2009, 08:47 PM   #5
Site Supporter
In bourne shell flavor:

#!/bin/sh
for f in *.PEF; do mv $f ${f%.PEF}.pef; done
 
05-29-2009, 09:50 PM   #6
New Member
Thanks guys. I have no problem coming up with a script, and i like your suggestions (lucky me i do know how to use regular expressions). Just thought there might be a way to cut out a step. Looking forward to poking aaround these boards and playing with my new camera!
 
05-29-2009, 09:51 PM   #7
New Member
PS - it's Adam not Anthony
 
06-03-2009, 02:55 PM   #8
Site Supporter
Thank God! I was afraid Hannibal Lector had joined the forum and was coming to skin me......Welcome Adam! Whew.

(I suspect Venturi was making a reference to the Actor rather than just guessing at your name)
 
06-03-2009, 03:56 PM   #9
Pentaxian
Originally Posted by imtheguy View Post
Thank God! I was afraid Hannibal Lector had joined the forum and was coming to skin me......Welcome Adam! Whew.

(I suspect Venturi was making a reference to the Actor rather than just guessing at your name)
Indeed I was.
 
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
File numbering greenjewel Pentax DSLR Discussion 5 11-09-2009 01:18 PM
File storage RHN12 Everything Else 18 09-23-2009 02:54 AM
File numbering simonm Pentax DSLR Discussion 26 03-06-2008 05:42 AM
Reversing a file GRIZZLY GULCH Post Processing, Printing, Software, and Darkroom 2 02-16-2008 08:48 PM
File name change bwhardy Pentax DSLR Discussion 2 02-13-2007 03:12 PM


All times are GMT -7. The time now is 06:35 PM.