Thread Locked This thread is locked - replies are not allowed.



Permlink Replies: 0 - Pages: 1
RobM

Posts: 3,815
Registered: 4-Aug-2006
Exclude or include by filename
Posted: 13 May 16, 01:39
Code based on Laza's Exclude images by rating tool.
It will find and exclude, or include, files that contain a string entered when running the tool.



Usage:
  • 1, From the jAlbum menu select 'Tools/External tools/Exclude or include using filename.
  • 2, Enter text in the box to the right of 'Search for filenames containing'. The search is case sensitive by default, deselect the first checkbox if you want non-case sensitive search.
  • 3, Files containing the search string will be excluded by default, to include them deselect the second checkbox.
  • 4, Click the 'OK' button.

If you want to exclude/include a file by type just enter the 'dot' and extension characters, e.g. .CR2

Edited by: RobM on 24 Oct 2022, 23:36
Added a Groovy version

Edited by: RobM on 26 Mar 2023, 23:24
Now prints the files included/excluded to the system console. .bsh version removed
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums