AppleScript for iTunes
Flush Apple Music Cache Files v1.0
OS X 10.8 and later. Apple Music stores the audio files it plays in ~/Library/Caches/com.apple.iTunes/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 iTunes doesn't have to re-download them 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 "iTunes Media" folder.)
Be sure to also see View Cached Music, a free app that lists track information about the Apple Music files cached on your computer.
Action shot:

About 1GB per 100 files or so.
Latest version:
Further:
|
download ⬇
Current v1.0 |
Info:
|
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 - Flush Apple Music Cache Files
Delete files downloaded and cached by Apple Music - More recommendations by task
Popular Now
downloaded 32m 3s ago
For Music Locates sets of track entries pointing to the same file
downloaded 1h 16m 23s ago
For Music/TV Display, delete, create text file listing info of dead tracks
downloaded 1h 50m 8s 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







