[Digikam-users] [Feature request] Option to handle JPG and RAW as pair (one file)
Dennis Meulensteen
dennis at meulensteen.nl
Tue Sep 15 14:43:48 BST 2009
Op Tuesday 15 September 2009, schreef Brano:
> Has anybody a usable process/method how to lets say delete the same RAW
> file if I delete correcponding JPG file?
> Lightroom does this automatically.
Setup the script below to be executable and associate it with .JPG, then you can select it from the context menu in digicams tyhumbnail and preview modes.
Dennis
#!/bin/bash
BASEDIR=`dirname "$1"`
BASENAME=`basename "$1"`
TRASHDIR=""
NEFPATH="$BASEDIR"/nef
OUTPATH="$BASEDIR"/output
NEFNAME="$NEFPATH/${BASENAME%jpg}"nef
rm -f "$1"
rm -f "$NEFNAME"
More information about the Digikam-users
mailing list