files verified in Google Drive, about 35 GB with zero differences
Case study / Data cleanup · Cloud migration
Music Library Cleaner
My music library had followed me across years and devices. It was full of duplicates, messy tags, and mixed formats. I wanted to move it to the cloud and clear space on my Mac, but first I needed a way to know everything had made it over.
01 / How I moved it
1. Start with a separate copy. I kept the original library and the Music app database out of the cleanup.
2. Clean up the copy. I sorted out duplicates, cleaned up tags, and put the cleaned library in its own folder. The Python tool handled MP3 tag cleanup and organization.
3. Back up and check every file. Before deleting anything, I backed up the full clean library to Google Drive and checked it file by file. All 5,870 files matched, about 35 GB in total.
4. Upload in batches. I uploaded 5,763 cleaned tracks to YouTube Music in batches of 500 and tracked progress on a dashboard I built.
5. Clear the local copy. Once the backup checked out and the upload was complete, I cleared the local copy off my Mac.
02 / Safety rules
Leave the originals and the Music app database alone. Write changes to a separate folder. Verify the backup file by file and confirm the upload is complete before clearing the local copy.
03 / Tools in the repo
Python runs the cleanup. Mutagen reads and writes MP3 tags. The repo also has an optional YouTube lookup that uses yt-dlp for search and requests to fetch artwork.
04 / Results
cleaned tracks uploaded to YouTube Music. Migration complete.
songs now in my YouTube Music library across about 2,650 artists
Mac storage freed: [to be added]
05 / For small businesses
I’d use the same process to move a small business’s files, customer records, or an old system to the cloud without losing anything: back it up, verify it, clean a copy, move it in batches, and confirm everything made it before deleting the local copy.