MacOS – How to completely reset and delete all Music.app settings and configurations

catalinaitunesmacosmusic

I was looking for a way to get a completely clean slate on the Music.app in macOS Catalina.

I attempted to find and delete all related settings in ~/Library, ~/Library/Cache, ~/Library/Preferences, and removed the Music folder from ~/Music.

However, every time I start up the Music.app after this, the old song list information is still there, but obviously, the music files cannot be found since I deleted them. (I get the fist time welcome popups such though.)

Are there any other files, databases, etc, that need to be cleared out before I'll get a completely clean slate again?

EDIT:
I used this script to try and clear files:

I tried this to get rid of the files but it didn't work:

#!/bin/bash
cd ~/Library/
music=$(find . -iname "*com.apple.music*" 2>/dev/null)
itunes=$(find . -iname "*itunes*" 2>/dev/null)
IFS=$'\n'
for x in $music; do rm -r "$x"; done
for x in $itunes; do rm -r "$x"; done

Best Answer

I attempted to delete the Music library from ~/Music, but Music seemed to want to rebuild that, and discovered that downloaded music and other things were missing which lead to some issues.

I decided to delete the Library from ~/Music and when launching Music, hold the option key until you are be prompted to open or create a new Library, select to create the Library and you should be good to go!