AppleScript for Music
Flush Apple Music Cache Files v2.1
For macOS 10.15 and later. Apple Music stores the audio files it plays in ~/Library/Caches/com.apple.Music/SubscriptionPlayCache/. This script will simply delete that folder.
The files in this folder are specially protected audio files that are downloaded and cached when you play a track from Apple Music on your Mac. They can't be user-played and are only useful to Apple Music, ostensibly so they needn't be re-downloaded if they are played again. (This cache folder doesn't pertain to Radio music. Or to Apple Music you've added to your library for offline listening, the files of which are stored in your "Media" folder.)
Action shot:

These files can add up.
Latest version:
Further:
|
download ⬇
Current v2.1 |
Info:
Serviceable Antecedent(s):
|
Perhaps Also of Interest...
- Doug's Check For All Updates
Check all scripts from dougscripts.com installed on your computer for updates - Doug's Check for Update
Check scripts downloaded to your computer from dougscripts.com for latest version - More recommendations by task
Popular Now
downloaded 35m 35s ago
For Music Locates sets of track entries pointing to the same file
downloaded 1h 19m 55s ago
For Music/TV Display, delete, create text file listing info of dead tracks
downloaded 1h 53m 40s ago
Save Album Art to Album Folder v7.5
For Music Export artwork of selected tracks to parent or specified folder
10 Most Recently Added
- UPDATED March 22, 2026:
Playlist XML Librarian v1.3
[ For Music ] Manage a folder of exported Playlist XML files - UPDATED March 1, 2026:
A Space Between v3.5
[ For Music ] Applet plays tracks with a user-set duration of silence between each track - UPDATED March 1, 2026:
Playlist XML Viewer v2.0
[ For Music ] View/play contents of exported playlist XML files - UPDATED December 14, 2025:
Side Splitter v3.0
[ For Music ] Split an album of tracks into playlists by LP side and auto-play them - UPDATED December 11, 2025:
Track CPR v5.0
[ For Music ] Re-associate batch of dead tracks with files dropped from Finder - UPDATED December 9, 2025:
No Lyrics to Playlist v3.2
[ For Music ] Gather tracks that do not have lyrics text - UPDATED December 9, 2025:
Find Empty Media Folders v3.4
[ For Music/TV ] Finds any empty or obsolete folders in the Media folder - UPDATED December 8, 2025:
Albumizer v1.1
[ For Music ] Incrementally re-number tracks and add album tags to a selection - NEW December 5, 2025:
Tracks by Name Length to CSV v1.0
[ For Music ] Create a CSV file listing tracks sorted by title length - UPDATED December 5, 2025:
Albums Amiss v1.4
[ For Music ] Finds album tracks that are a few short or over an Album - the 10 most recent in detail...
- the 30 most recent as list...
- Doug's Check For All Updates Applet
30 Most Recent RSS Feed







