Displays a list of all installed from the Mac App Store applications using the Terminal
Tips Makradar / / December 19, 2019
It argued that the command line is used only geeks and normal users are afraid of her. I would venture to disagree with that and try to involve ordinary users, the use of the OS X user-friendly tools like Terminal. With it you can solve almost any problem, that's like a non-standard way to inspect any of your apps have been installed from the App Store. I ask a cat.
* * *
This list will be useful in different situations. For example, you need to install your application on another computer. To generate a list of applications from the Mac App Store, installed on your computer, we need only one team. Open Terminal (located in the folder "Utilities"), copy and paste this code here:find / Applications -path '* Contents / _MASReceipt / receipt' -maxdepth 4 -print | sed 's # .app / Contents / _MASReceipt / receipt # .app # g; s # / Applications / ## '
After that, your Mac for 2-3 seconds and will reflect in the Terminal window will appear around the following list:
If desired, you can go ahead and write the printed output to a text file. To do so, just append "> filename.txt" command, naturally removing the quotes. Text files are stored in the user's home directory. Fully command would look like this:
find / Applications -path '* Contents / _MASReceipt / receipt' -maxdepth 4 -print | sed 's # .app / Contents / _MASReceipt / receipt # .app # g; s # / Applications / ## '> mac_app_store_apps.txt
With such a list, it is easy to compare and install the missing application on another machine.
Note that the list will include also hidden functions (I mean those programs that's just you removed from the section "Shopping" in the Mac App Store).
By the way, you can also display the list of all installed (in some way) applications on your Mac. «Ls» - this is an elementary view unix command. For advanced users, it is obvious, but for newbies think it will be useful to know about this team.
Drives in the terminal's code like this:ls / Applications /
The list will be included the program that you have downloaded and installed manually and those that were installed from the Mac App Store,
For convenience, you can also write the result to a text file:ls / Applications /> all_apps.txt
Now you know another use for the terminal. Do not be afraid to use it, this is a very handy tool.