Long time lurking member...

For those inclined to do Bash-scripting, here a hint (excerpts from) on what i have active; Moving images from any temporarily mounted Flash-card to date-named folders/dirs
/(manually started Bash script)/

todir='/ImageStore/%Y/%Y-%m-%d/RAW/%Y-%m-%d_%Hh%Mm%Ss';
    for dir in $( find 2>/dev/null  /media/$USER/*/DCIM -maxdepth 0 -type d -printf '%p\n' | tr ' ' '§');
    do
        ( exiftool -v -r -ext JPG -ext NEF -ext TIF -ext PNG -d "$todir" \
        '-filename<${createdate}_${model;tr/ /_/}-${ShutterCount;s/^.*(....)$/$1/}.${filetypeextension}'\          "$dir" ) 2>&1 | grep --color=auto -Ev '======== |Setting new values|Created directory ';

        ...
    done

The copy-and-rename+delete is done by exiftool, making the images end up in a subfolder to /ImageStore/ (soft link to actual location)

An image 'original' ends up in a subfolder named YYYY/YY-MM-DD/RAW/ with a filename reflecting the Date&Time it was taken with the file's (4 last digits of) shuttercount and camera (DCIM subfolder) name appended.

This is the way I've had it for 20+ years, over several different cameras.
MTP-type (garbage) connection to the camera ? Use a card reader.


/Hannu


On 2023-07-18 21:04, Łukasz Karcz wrote:
Hello everyone,

I have a [noob] question regarding importing the images from the memory card. Is there an option in dt for physically removing files directly from the memory card after [successful] import? If not, what's the default workflow for it? Manually deleting files from outside dt seems a bit cumbersome. Or maybe I don't understand something?

ŁK

___________________________________________________________________________ darktable developer mailing list to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org

--

___________________________________________________________________________
darktable developer mailing list
to unsubscribe send a mail to darktable-dev+unsubscr...@lists.darktable.org

Reply via email to