How to Check Extended Attributes on Mac Files Using Terminal

Illustration for How to Check Extended Attributes on Mac Files Using Terminal

Quick Answer To check a file’s extended attributes on a Mac, open Terminal, type xattr, add a space, drag the file or folder into the Terminal window, and press Return: xattr "/path/to/file" The command lists extended-attribute names attached to that item. To display the value of an attribute, use -p followed by the attribute name: … Read more

How to Fix “An Error Occurred While Preparing the Installation” in macOS Recovery

Illustration for How to Fix “An Error Occurred While Preparing the Installation” in macOS Recovery

Seeing “An Error Occurred While Preparing the Installation” in macOS Recovery usually means the Mac cannot validate or prepare the installer. Common causes include an incorrect date and time, an unreliable internet connection, startup-disk errors, insufficient storage, or an incomplete installer process. Start by checking the Mac’s date and time in Terminal, then retry the … Read more

How to Fix macOS Installation Errors Caused by an Incorrect Date and Time

Illustration for How to Fix macOS Installation Errors Caused by an Incorrect Date and Time

An incorrect date or time can cause macOS installation errors because the installer may be unable to validate Apple’s installation certificate, contact update servers securely, or verify downloaded files. The fastest fix is to start macOS Recovery, connect to the internet, check the current date, and correct it in Terminal before running the installer again. … Read more

How to Find Files You Do Not Have Permission to Access on a Mac

Illustration for How to Find Files You Do Not Have Permission to Access on a Mac

Quick Answer Use Finder’s Get Info window to check a file’s permissions, or use Terminal to search for files you cannot read. In Terminal, the following command searches your home folder and reports files that cannot be opened by your account: find "$HOME" -type f ! -readable -print This command only searches and reports files; … Read more

How to Interpret Apple Diagnostics Reference Codes on a Mac

Illustration for How to Interpret Apple Diagnostics Reference Codes on a Mac

Apple Diagnostics checks your Mac’s internal hardware and displays a reference code if it detects a problem. The code can point to a specific component—such as memory, the battery, the display, or a wireless device—but it is not usually a complete diagnosis by itself. To interpret a code correctly, write down the entire code, identify … Read more

How to Free Up Space Used by APFS System Data on a Mac

Illustration for How to Free Up Space Used by APFS System Data on a Mac

APFS System Data can occupy a large amount of storage on a Mac. To free it up, start by restarting your Mac, emptying Trash, removing local Time Machine snapshots, deleting old iPhone or iPad backups, and clearing safe-to-remove caches and installers. Do not delete random files from protected system folders: some items shown as “System … Read more

How to Free Up System Data Storage on a Mac

Illustration for How to Free Up System Data Storage on a Mac

Quick Answer To free up System Data storage on a Mac, start by restarting your Mac, emptying the Trash, removing old iPhone or iPad backups, deleting unnecessary installers and large downloads, and reviewing local snapshots or application support files. Use System Settings > General > Storage to identify the largest categories before deleting anything. Do … Read more

How to Uninstall Apps Completely on a Mac

Illustration for How to Uninstall Apps Completely on a Mac

To uninstall an app completely on a Mac, quit the app, move it to the Trash, empty the Trash, and remove leftover support files from your user Library when necessary. Apps installed through the App Store can usually be deleted from Launchpad or Finder. Apps with their own uninstallers should be removed with those tools … Read more