How to find all images in folder

finder

I'd like to list all images in a folder (and subfolders), but I get no results in Finder for any search unless I search 'This Mac'.

I select the folder I wish to search, select 'images' as the 'kind' in the search box, top right, but although it says 'Searching "foldername"' nothing ever gets returned, unless I select 'This Mac', what am I doing wrong?

Best Answer

I get frustrated using the Finder application to find anything. I guess I don't have a mind that works like the authors of the Finder application. If you are used to using commands you can try the following.

  1. Open a Terminal application window.
  2. Use the cd command to change to the base folder where the files are. The command pwd will give your current folder.
  3. Enter to the command

    find . -name "filesToFind" -print
    

    and the current base folder and all subfolders will be searched.

For example to find all files ending the .txt on your desktop, open a Terminal window and type:

cd desktop
find . -name "*.txt" -print

Note: The instructions for the find command can be found by typing the command man find or at this link.