Command: finder

Adjust settings for the macOS Finder.

Usage

Usage: m finder [OPTIONS]

Description: Manage Finder settings on macOS

Options:
 --help                                      Show this help message
 --showhiddenfiles <status|enable|disable>   Show or hide hidden files in Finder
 --showextensions  <status|enable|disable>   Show or hide file extensions in Finder
 --showdesktop <status|enable|disable>       Enable or disable the desktop in Finder
 --showpath    <status|enable|disable>       Show or hide the current folder path in Finder's title bar

Options

--showhiddenfiles <status|enable|disable>

Controls the visibility of hidden files (those starting with a .) in Finder windows. Providing status or no argument will show the current setting.

Example:

# Show hidden files
m finder --showhiddenfiles enable

# Check the current status
m finder --showhiddenfiles status

--showextensions <status|enable|disable>

Controls whether file extensions (like .txt, .jpg) are shown for all files. Providing status or no argument will show the current setting.

Example:

# Show all file extensions
m finder --showextensions enable

--showdesktop <status|enable|disable>

Controls whether desktop icons are visible. Disabling this can provide a cleaner workspace. Providing status or no argument will show the current setting.

Example:

# Hide all desktop icons
m finder --showdesktop disable

--showpath <status|enable|disable>

Controls whether the full POSIX path of the current folder is displayed in the Finder window's title bar. Providing status or no argument will show the current setting.

Example:

# Show the full path in the title bar
m finder --showpath enable