About

My humble Internet whereabouts.
please check my other blog: http://dslrphotos.wordpress.com
and follow me on twitter twitter.com/arashad

Looking for something specific?

 

Add to Technorati Favorites

2009.07.22  7:53am  

3hwgck4mqu

2009.07.22  7:19am  
2009.07.22  7:01am  
2009.07.20  11:51pm  

More Posts in my DSLR Blog

2009.07.20  11:39pm  

Follow me on Twitter, Please

2009.07.20  11:38pm  
2009.07.20  11:35pm  

Different places in Ibn Battuta Mall, Dubai, UAE.

This place is full of themes and artifacts. As if you are shopping in a museum

2009.07.20  11:30pm  

Photos from Ibn Battuta Mall, Dubai, UAE

2009.07.19  7:24am  

Convert from Nikon RAW .NEF to JPEG

Why waste time with CPU/GPU consuming GUI apps on Linux to get your photos converted from Nikon RAW files to JPEG?

Here is how to do it:

  1. Create a folder on your Linux box in a file system free enough to hold the data to be copied x2, that is if you have 4 GB for example, make sure it can take around 9 GB, for the time being
  2. copy the NEF files into this folder
  3. run the following shell script

for i in `ls *.NEF`
do
exiftool -b -JpgFromRaw $i > $i.JPG
rm -rf $i
done

Now you have your photos converted into JPEG format with the names DSC_xxx.NEF.JPG

if you want to rename it to be DSC_xxx.jpg, then I know one lame method to do so as follows:

  1. Type: >process
  2. Then Type:
  3. for i in `ls *.JPG`
    do
    echo “mv $i $i” > process
    done

  4. Type: vi process
  5. Now you are editing a file containing all File Names
  6. Press Escape, then type the following:
  7. :0,$s/NEF.JPG/jpg/g

  8. then press Enter, and wait for it to finish
  9. then press Esc
  10. then type :wq
  11. then enter
  12. now type chmod +x process
  13. then ./process

now your files are ready with the desired format

2009.07.19  5:42am  

Links

RSS
a Tumblr theme by Robert Boylan