How to Find Documents & Applications on Your Mac Using Terminal

Many methods were discussed during the show, but the simplest one was suggested afterwards by Peter Lewis of Stairways Software, maker of the excellent Keyboard Maestro utility.

To locate Java applications, open Terminal and type the following command:

find /Applications -name “*.jar”

Using the find command, this query will search the system’s Application folder for files that have “.jar” in their name, which identifies them as Java applications, and display a list of all files that meet the search criteria. This command can be modified to find almost anything at any location on your Mac’s drive, such as:

  • Search the entire drive for Java applications and not just the Applications folder: find / -name “*.jar”
  • Search the User’s Documents folder for PDF files: find ~/Documents -name “*.pdf”
  • Search the User’s Downloads folder for Windows executables find ~/Downloads -name “*.exe”
  • Search for a specific file on the Mac: find / -name “filename.txt”

For more information on using the find command, open Terminal and type:

man find

This will launch the manual for the find command and allow you to browse the hundreds of different parameters and options for using it. There are also many websites with tutorials for find and other Unix commands.

Teaser graphic made with help from Shutterstock.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

WIN an iPhone 16 Pro Max!