Author Topic: Searching for files with a List of filenames  (Read 219 times)

voronwe

  • Full Member
  • **
  • Posts: 164
Searching for files with a List of filenames
« on: May 02, 2021, 06:32:34 PM »
Hi again  ;D

pictr.com (a website where you can show images to custumers and where they can select images) has a feature that it will give you a list of files a customer has selected:

https://www.pictrs.com/hilfe/feedback-gallery#filterlisten

So far I did not found a way to put this list into IMatch and filter just for this images.
Is there a way to use a list like this (which is a list of files without the extension, because on pictr you show jpgs, but the selection is for the RAW-Files):

2021_04_24_002_NikonD500_T,2021_04_24_004_NikonD500_T,2021_04_24_006_NikonD500_T

for the search for images?

Greetings
« Last Edit: May 02, 2021, 06:37:17 PM by voronwe »

Mario

  • IMatch Developer
  • Administrator
  • *****
  • Posts: 28790
Re: Searching for files with a List of filenames
« Reply #1 on: May 02, 2021, 06:40:43 PM »
Use the special File Finder App for this purpose. You find it in the App Manager, like all apps.
It has a bulk match feature to match a list of file names:


voronwe

  • Full Member
  • **
  • Posts: 164
Re: Searching for files with a List of filenames
« Reply #2 on: May 02, 2021, 07:00:51 PM »
Use the special File Finder App for this purpose. You find it in the App Manager, like all apps.
It has a bulk match feature to match a list of file names:



Unfortunatly this does not seem to work on my side:
I put "2021_04_24_002_NikonD500_T" in the first search ("Suche nach Dateinamen") and it found the correct file,
But when I put "2021_04_24_002_NikonD500_T" into the "Stapelsuche" it did not find it.
"Dateinamenerweiterung ignorieren" was checked

Ok, this seems to be a bug:

When I enter "2021_04_24_002_NikonD500_T.jpg" into the bulk search, and uncheck "Dateinamenerweiterung ignorieren" it finds it. When I check it, it does not find it.

Without extension it is not found, no matter whether it was checked or not.



Mario

  • IMatch Developer
  • Administrator
  • *****
  • Posts: 28790
Re: Searching for files with a List of filenames
« Reply #3 on: May 02, 2021, 07:05:34 PM »
Please report potential bugs in the appropriate bug report board.
Since your file name has no extension, the ignore extension option must be enabled.
In that case, the search becomes case sensitive (small glitch) and that's what causing the problem.

You can fix this by editing the app.
Just insert

f.namene = f.namene.toLowerCase().trim();

in row 534 of c:\ProgramData\photools.com\IMatch6\webroot\imatch\apps\file-finder\src\app.js

after

f.name = f.name.toLowerCase().trim();

I will include this bug fix in IMatch 2021.
« Last Edit: May 02, 2021, 07:20:09 PM by Mario »

voronwe

  • Full Member
  • **
  • Posts: 164
Re: Searching for files with a List of filenames
« Reply #4 on: May 03, 2021, 09:10:17 PM »
That works, thanks  :D
With this one and without extensions on the file, I could find my jpgs as well as my dngs. Thanks a lot, that helped (A thumbs-up icon is definitly needed in this forum).

But (there is allways a but, isn't it  ;)  )
Unfortunatly pictrs gives the list without extensions only seperated by , (for Lightroom) or by Space (for Capture One). A list with a new-line for every file is only given with the extension.
I raised the request there some minutes ago to give a list without extensions seperated by new-line, pointing out that this will help to use the lists in IMatch.

Currently the workaround is to open the list with extensions in Notepad++ and remove any ".JPG", or use the Komma-seperated List and replace every "," by "\n"

I will tell if I get an answer.

Anyway, thanks for the moment