You can make a difference in the Apple Support Community!

When you sign up with your Apple Account, you can provide valuable feedback to other community members by upvoting helpful replies and User Tips.

📰 Newsroom Update

Billie Eilish is Apple Music’s Artist of the Year for 2024. Learn more >

Moving Music from Macintosh HD to external SSD, while preserving all playlists and metadata.

I found various websites telling me how I could move my music from the MUSIC folder on my Macintosh HD to an external SSD in order to free up valuable space, while preserving all playlists and metadata. My Macintosh HD is full! Unfortunately, I tried their suggestions, and nothing worked. All my songs were purchased, ripped from CDs, or recorded myself (I am a musician), and are located in a single folder (Music/New Sound Files). Even after changing the Music Media Folder location in Apple Music to the external SSD, Apple Music did not copy the songs to the external drive (as one website said it would do). After manually copying the songs myself and changing the Music Media Folder location Apple Music still points to the Macintosh HD to find the songs in my library.

I tried to get help from Apple directly, both in a chat and a phone call, and they said it could not be done. They told me Apple requires the songs to be stored on the internal Macintosh HD.

iMac Pro (2017)

Posted on Oct 22, 2024 10:16 AM

Reply
4 replies

Oct 26, 2024 4:55 PM in response to neveralull

The method that generally works when the library is in the standard layout is to copy the whole library from the original location to some new path, then press and hold down option to choose the library file in the new location, and it should update its references to use the media folder within that library folder. Moving the media folder independently and then updating the preference setting doesn't usually go so well.




The "missing file" issue with exclamation marks happens if the file is no longer where iTunes or Music expects to find it. Possible causes are that you or some third party tool has moved, renamed or deleted the file, one of its parent folders, the drive it lives on has had a name change, or you've moved a non-portable library to a different path (see Make a split library portable for details). It is also possible that iTunes or Music have changed from expecting the files to be in the pre-iTunes 9 layout to post-iTunes 9 layout, or vice-versa, and so is looking in slightly the wrong place, (see the iTunes Media Organization section of Managing your Mac media libraries - Apple Community for details) or that you've been too aggressive when deleting duplicates at some point.


Select a track with an exclamation mark, use Cmd-I to get Song Info, then click No when asked to try to locate the track. Look on the file tab for the location the library thinks the file should be. Now take a look around your hard drives. Hopefully you can locate the track in question. If a section of your library has simply been moved, a folder renamed, or a drive label has changed, it should be possible to reverse the actions. If the difference between the two paths is an additional Music folder in one path then this is a layout issue. I can explain further if that is the case. If everything is where it is supposed to be try Repair security permissions for iTunes for Mac - Apple Community.


In some cases the library may be able to repair itself if you go through the same steps with Get Info, or when playing a track, but this time click Locate and browse to the lost track. It may then offer to attempt to automatically fix other broken links. Although it says something like "use the same location" I think it expects to find the tracks in the same artist & album layout they were in previously, with one systematic change to the path.


If you want me to try to provide specific advice please post back the following details:

  1. The location of the media folder under iTunes|Music > Preferences > Advanced
  2. The location of a sample missing track shown under Song Info > File > Location that begins file://
  3. The true path to the file whose details you gave in 2



See also FixLinks - an AppleScript to repair broken links in Music - Apple Community.



tt2

Oct 27, 2024 5:42 AM in response to neveralull

The issue here is that you haven't started out with the library in the standard layout where the library database is ~/Music/Music/Music Library.musiclibrary and the media folder is ~/Music/Music/Media. One approach would be to revert to your original library on the internal drive then use my advice in Managing your Mac media libraries - Apple Community to massage the library into the usual layout, finally copying ~/Music/Music across to your external drive and accessing the library there.


That said I think it will be easier to work with the active library that is already on your external drive (which is what is going to reopen if you haven't successfully chosen or created a different library) then use the menu options Music > Preferences > Files > Reset Music Media folder location, then consolidate the library either when prompted after changing the media folder or via File > Library > Organize Library > Consolidate Files. This will create new copies of each file in <External>/Music/Meda and update the library to point to the new copy. Once complete the files in both the internal and external New Sound Files folders will be redundant.


N.b. If there isn't enough free space on the external drive, at least temporarily, for two copies of all of your music files then delete the external version of New Sound Files and empty the trash before consolidating the library.


tt2

Oct 26, 2024 2:18 PM in response to neveralull

Unfortunately, I have done this many times... and it's always NOT without issues. Also, what Apple told you about your purchased songs need to be located on an internal Macintosh HD is just not true.


Don't forget... in your Music settings under "File" to change your Music Media folder location to the new external SSD, with both options underneath checked. This should allow your Mac to find your library and organize the files.


However, for me, the best way to create more hard drive space for my music library without problems was to increase the "internal" storage and make direct copy of my Macintosh HD and replace it with the larger HD. Good luck!





Oct 26, 2024 8:56 PM in response to turingtest2

Thanks for your reply. I just don't understand. I copied my entire Macintosh HD /Users/my_username/MUSIC folder to my external hard drive. Then I opened MUSIC with the option key held down, and it asked me to Choose library or create one. I pushed "Choose Library" and it brought up a window to choose a file, and the only one I could choose was hard drive/Music/Music Library.musiclibrary. All my songs and playlists were intact, but doing Get Info on any of the songs, they were still pointing to Macintosh HD /Users/my_usename/MUSIC/New Sound Files, where my songs originally were, rather than hard Drive/Music/New Sound Files where the copies are. Then, when I closed MUSIC and opened it again with the option key held down, it again asked me to Choose library or create one, there was no available file on my Macintosh HD/Users/my_username/MUSIC for me to even choose. I don't know what music library file is being used now, and I don't dare erase any songs or files on my Macintosh HD at this point.

Moving Music from Macintosh HD to external SSD, while preserving all playlists and metadata.

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.