I am trying to find a way how to search in specific subfolders through the whole drive on my mac. I will try to explain what I need exactly; I have a folder with images called "Photos", which includes subfolders; each of these subfolders has a date as a name and includes at least 2 another subfolders called ORIGINALS and EDITS. Images in "originals" and "edits" folder have matching names. When I search using command+F in "Photos" folder, my results are duplicated and I want to be able to include only files from "edits" folder. Is this possible to achieve? Thanks
Asked
Active
Viewed 277 times
1
2 Answers
1
You can make a script that uses the find command and the dirname command to do this but as for doing it in spotlight somehow I don't think so. If you'd like to see a one-liner to do this on the command line I can do this, but it depends on what you want it to output- the containing directory or the full path to the file.
Darf Nader
- 623
Check out HoudahSpot. With HoudahSpot you can search the Photos folder and then filter search results to exclude results where the path contains ORIGINALS.
Note: I am the developer of HoudahSpot.
– Pierre Bernard Oct 24 '16 at 08:27