Jump to content

Mac Tips: Mac Terminal trick: How to list your apps


sincity

Recommended Posts

Mac Tips: Mac Terminal trick: How to list your apps

Every week we'll bring you a how-to guide to do something quick and cool with Mac OS X. Sometimes it will be a tutorial on a lesser-known feature, other times it'll be a trick that uses built-in functionality such as Terminal, but either way, these simple tips can make life better and easier, and they don't require any special knowledge. All you need to do is follow the instructions!

Sometimes it's handy to have a list of all the apps installed on your Mac. For instance, if you need to cleanly reinstall OS X, and then add your apps and data back afterward to make the Mac run faster, it's easier to have a list than to rely on your memory. In this article, we'll show you how to easily make a list of the apps that are installed on your Mac for backup purposes.

To begin, we'll open the Terminal (located in /Applications/Utilities), and then type the following command (all on one line):

find /Applications -path '*Contents/_MASReceipt/receipt' -maxdepth 4 -print |sed 's#.app/Contents/_MASReceipt/receipt#.app#g; s#/Applications/##'

This command will find and list all of the files matching the name ending in ".app" on your Mac that have been downloaded from the Mac App Store.

Mac Terminal Tip - List Your Apps

If you wish to save this list to a text file for printing or other purposes, then type the following command (all on one line) instead:

find /Applications -path '*Contents/_MASReceipt/receipt' -maxdepth 4 -print |sed 's#.app/Contents/_MASReceipt/receipt#.app#g; s#/Applications/##' > /Desktop/apps.txt

This command will create a file called "apps.txt" on your Desktop listing all the apps on your Mac that have been purchased from the Mac App Store, allowing you to use it for any purpose you may have.

mf.gif


rc.img
rc.img
rc.img

a2.imga2t.imgsIirdD2MAu8
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.