Convert Nikon NEF to JPG with ufraw
$ ufraw-batch --out-type=jpeg --out-path=/home/itsme/Pictures/export --compression=85 --size=1280 /media/Data/home/itsme/Pictures/MyPics/*.nef
For more details cf. http://otype.net/2008/08/convert-nikon-nef-to-jpg-with-ufraw/