Find Any File is Shareware

You may try it out without buying first. Simply download it.

If you keep using it you are expected to pay for it, though.

faf-big

Find Any File (FAF)

Key Features

  • Convenient folder and icon views for results
  • Can search in other users' home folders ("root" mode)
  • Searches can be saved for easy re-use
  • Can be launched with a self defined keyboard shortcut

New in version 2.5:

Find Any File Scripts

FAF's Matching Scripts are an extension for FAF that lets you add search methods that FAF doesn't inherently offer.

How to install the examples below

Note: This method requires FAF 2.5 or later.

  • Choose a script from the Example Scripts at the bottom of this page.
  • Click on the script description so that it expands.
  • Click on the "Install" button at the top right of the script code.
  • FAF will open and insert the script rule for you.
  • From now on, the script is available in the rules menu under "Script", so you can choose it any time you need it.

How to install the examples manually

  • Copy the script code (that's the text inside the light blue box) and paste it into a text editor, such as BBEdit or TextEdit, as a plain text file (ending in .txt). If you use TextEdit, make sure to open the Format menu and choose “Make Plain Text” if it's available, or you'll use Rich text, which won't work.
  • Save the file somewhere convenient.
  • Once saved, change the file's extension (in Finder) to “.lua” for Lua scripts, or to “.js” for Javascripts (the script's introductory text will indicate which type it is).
  • Open Find Any File (FAF), hold down the option (⌥) key and click on the rules pop-up menu (usually titled “Name”) and then choose "Scripts" from the menu. This will set the rule to “Script matches any”.
  • Click on “any” and choose “Open Scripts Folder”.
  • Move your script into that folder (the folder's name is “Matching”).
  • Back in FAF, click on “any” and choose your newly added script.


More details for power users

Starting with FAF version 2.4, FAF's search rules can be extended by scripts (programming code) in the Lua and JavaScript (short: JS) languages.

This makes it possible to create very specific and complex search rules. If you don't feel comfortable with writing script code, look below for a list of readily available scripts that you can install, or ask me for assistance.

(I am also planning to add more scripting features, such as for displaying custom columns and more information about listed files and folders, and offering more commands in the contextual menu for found items.)

Installing scripts

FAF's AppSupport folder (which you can open by opening the menu bar, under Help, and choosing Open the AppSupport folder) contains a Scripts folder, which in turn contains sub folders for the different types of scripts:

  • Matching – These are used as search rules, which you can then choose from once you select the Script matches rule.

You can also reach the scripts folder by clicking on the rightmost pop-up menu for the Script rule:

Open Script Folder

(Note: In v2.4 and 2.4.1, the Script rule does not appear in the pop-up menu unless you hold down the option (⌥) key before clicking on it!)

Place the script into the appropriate sub folder (i.e. Matching), and make sure its name ends in either .lua, .js or .javascript.

Then click on the right-most pop-up menu again, where you will now find the newly installed script. Choose the script from the menu to use it with the Script rule.

Writing new scripts

Click here to see the details if you want to learn how to write your own scripts.


Example scripts

These and more scripts are downloadable here.

Find executable files
Find read-only files
Find Finder-locked files
Find purgeable files
Find sparse files
Find items that have Extended Attributes
Find files and folders by length of their name
Find files whose names are not allowed in Microsoft OneDrive
Find folders with a min/max number of files and folders inside
Find folders of a minimum size (of the total files inside)
Find the parent folders of specific files
Find folders that do not contain specific files
Find folders that do not contain files with specific extensions
Find empty folders
Excluding file names using regular expressions
Find identical files (duplicates)
Find files having the same name

Search for EXIF tags in audio or video files