Batch Convert Nikon RAW (NEF) Files to JPEG

Need to convert multiple .NEF files to the JPEG format? You can easily do this from the command line using the UFRaw tool. First off, install the UFRaw package on your system. UFRaw is available in the software repositories of many popular Linux distributions, so you can install it using your distro’s package manager. On Ubuntu, use the following command:

sudo apt-get install ufraw

Launch then the terminal, switch to the directory containing NEF files, and run the following command:

ufraw-batch --out-type=jpeg --out-path=./jpg ./*.NEF

That’s all there is to it.

Tech writer covering Linux and open source software

Tagged with: , ,
Posted in Open Source, Photography, Software
9 comments on “Batch Convert Nikon RAW (NEF) Files to JPEG
  1. Wez says:

    Just what I was looking for, thanks!

  2. Zane says:

    Thanks – that’s exactly what I was looking for! 🙂

  3. Thank you so much. Just what i needed. Was going crazy trying to convert it. Really appreciate it.

  4. tallman says:

    Just a little mistake, should be:
    ufraw-batch –out-type=jpeg –out-path=./ ./*.NEF

  5. brad says:

    if you have adobe bridge, just select all the images you want, goto Tools > Photoshop > Image Processor and then it’s pretty self explanatory from there.

    • Ni says:

      Brad, you got your shit tangled up trying to help people answer their questions.

      This is Ubuntu. Adobe Bridge does not even work on this OS.

      Sorry son.

    • franklyware says:

      Hmm, starting the program, goto 1, goto 2, goto3 en the next actions are self explanatory?
      I would say do a one time action:
      edit your ~/.bash_aliases and add the line:
      alias nef2jpg=’ufraw-batch –out-type=jpeg –out-path=./jpg ./*.NEF’
      then do
      $source .bashrc
      and for the rest of your (photographic-) life just typing “nef2jpg” suffice.

      • peter says:

        I am getting the error: “ufraw-batch: ufraw was build without JPEG support.”

  6. Dan says:

    Actually this is the correct command 😛

    ufraw-batch –out-type=jpeg –out-path=./ ./*.NEF

Comments are closed.

Recipes for automated and streamlined photographic workflow on Linux

Use digiKam? Get this book!

Practical advice for nighttime photography

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

%d bloggers like this: