Skip to content

Recursive import of new images using the command line does not work anymore #17871

@scorpi11

Description

@scorpi11

Describe the bug

I used to start darktable on the command line with a directory name to import new images in subdirectories. This was a simple way to import all new images in the directory hierarchy of my library.

Now darktable ignores new images in subdirectories.

4.8.0 is fine, 4.8.1 had a crash issue (see #17233). I backported a fix for the crash to 4.8.1, but the recursive import using the command line is still broken. Now I tried git master (d267260) and have the same issue.

Steps to reproduce

  1. mkdir -p foo/bar
  2. copy some images to bar directory, so that there is foo/bar/<images>
  3. In a terminal, invoke the command darktable foo
  4. check if the images in foo/bar are imported (they are not)
  5. In a terminal, invoke the command darktable foo/bar
  6. check if the images in foo/bar are imported (they are now imported)

Up to 4.8.0, darktable imported the new images in foo/bar in step 3. With git master, this does not work anymore.

Expected behavior

darktable should import the new images in foo/bar in step 3.

Logfile | Screenshot | Screencast

No response

Commit

No response

Where did you obtain darktable from?

downloaded from www.darktable.org

darktable version

git master d267260

What OS are you using?

Linux

What is the version of your OS?

Debian unstable

Describe your system?

Debian unstable, darktable from git master at commit d267260

Are you using OpenCL GPU in darktable?

Yes

If yes, what is the GPU card and driver?

RX5600 XT

Please provide additional context if applicable. You can attach files too, but might need to rename to .txt or .zip

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    no-issue-activityscope: DAMmanaging files, collections, archiving, metadata, etc.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions