Created
December 1, 2025 12:36
-
-
Save acodega/8b265a116d3acf626e6ea595715f371a to your computer and use it in GitHub Desktop.
Find macOS icons
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # Create the destination folder on Desktop | |
| DEST="$HOME/Desktop/icons" | |
| mkdir -p "$DEST" | |
| # Find and copy .icns files | |
| find /System/Library -iname '*.icns' | while read -r filepath; do | |
| # Extract the filename from the path | |
| filename=$(basename "$filepath") | |
| # Copy the file to the destination | |
| cp "$filepath" "$DEST/$filename" | |
| done | |
| echo "All .icns files have been copied to $DEST." | |
| # LockedIcon.icns | |
| /System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/LockedIcon.icns | |
| # AirPortUtility.icns | |
| /System/Library/PrivateFrameworks/AOSUI.framework/Versions/A/Resources/AirPortUtility.icns |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment