Skip to content

Instantly share code, notes, and snippets.

@dobyrm
Last active November 25, 2024 10:18
Show Gist options
  • Save dobyrm/be8788c58a5ec9ab3576d8bb5e9a619b to your computer and use it in GitHub Desktop.
Save dobyrm/be8788c58a5ec9ab3576d8bb5e9a619b to your computer and use it in GitHub Desktop.
Clean Mac

Always be cautious when deleting files, especially in system directories, and consider creating backups before making changes.

To access a directories, press Command + Shift + G in Finder.

Caches: ~/Library/Caches

Contains cache files for various applications. Deleting these files can free up space and potentially speed up your system. Applications will recreate these caches as needed.

Logs: ~/Library/Logs

Description: Contains log files for system and application events. You can delete old log files to free up space. Be cautious not to delete logs that you might need for troubleshooting.

Application Support: ~/Library/Application Support

Description: Contains support files for applications. Be careful when deleting files here, as it may affect the functionality of some applications. Delete only the files related to apps you have uninstalled or no longer use.

Preferences: ~/Library/Preferences

Description: Contains preference files for applications. Deleting these files can reset application settings. Only delete preferences for applications you no longer use.

Saved Application State: ~/Library/Saved Application State

Description: Contains saved states of applications. Deleting these files can help free up space and can fix issues with applications not launching correctly.

Containers: ~/Library/Containers

Description: Contains sandboxed data for applications. You can delete data for applications you have uninstalled or no longer use.

Downloads: ~/Downloads

Description: Contains files you have downloaded from the internet. Regularly clean this folder by deleting files you no longer need.

System Caches: /Library/Caches

Description: Contains system-level cache files. Deleting these can free up space and may improve system performance. The system will recreate necessary cache files.

Temporary Files: /private/var/folders

Description: Contains temporary files used by the system and applications. Deleting old temporary files can free up space. Be cautious and only delete files that are not currently in use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment