Skip to content

list doesn't search all sub directories of /Applications #1021

@uurazzle

Description

@uurazzle

Configuration

mas ▁▁▁▁ 2.3.0
arch ▁▁▁ arm64
from ▁▁▁ package
origin ▁ https://github.com/mas-cli/mas
rev ▁▁▁▁ c93a4fca67cc56585bea1650ba268503ea1883a6
driver ▁ 1.120.5
swift ▁▁ 6.1 (swiftlang-6.1.0.110.21 clang-1700.0.13.3)
region ▁ US
macos ▁▁ 26.0.1 (25A362)
mac ▁▁▁▁ MacBookPro17,1
cpu ▁▁▁▁ Apple M1

Bug description

Hi:

Thanks for developing & sharing the tool with the community.

mas list does search all sub directories under /Applications it appears only Applications/Utilities, but not others.

For example, for organizational purposes I have other Mac App Store applications in sub folders like "Audio", "Video", "Programming", etc.

/Applications/Audio/Logic Pro.app
/Applications/Audio/GarageBand.app
/Applications/Video/Compressor.app
/Applications/Video/Final Cut Pro.app
/Applications/Video/iMovie.app
/Applications/Video/Motion.app
/Applications/Programming/Copilot.app
/Applications/Programming/Xcode.app

But, all mas list outputs is these Mac App Store apps:

$ mas list             
1594183810  Shortery        (8.1)
425424353   The Unarchiver  (4.3.9)

mas list appears to not support sub folders is /Applications also would be nice support other locations like /Users/ACCOUNT_NAME/. Only appears to support applications directly in /Applications or /Applications/Utilities.

Steps to reproduce

Move Mac App Store applications to sub folders in /Applications, except /Applications/Utiltiies which is supported.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions