moving iTunes Media files

I’ve moved my entire iTunes Media to Dropbox. Had everything unchecked for “keep media folder organized” & “copy files etc” because I was coming from an iTunes managed library. Just needed the media to exist in a specific location. I ended clicking the tick box for both after I got everything to where I wanted. iTunes has decided to move everything to some repetitive path. What did I do wrong? How do I keep the desired path I want without apple taking over & making a repeat filepatb? Example: Apple Music Library > Music > Media > Music is the path it’s moving everything to. Furthermore everything was already organized from previous iTunes apple file structure. Now I have to wait 33 hours for it to finish moving! What can do to have a desired location ? Do I have to know that iTunes will make 2 or 3 files within the folder I choose? Or can I avoid that & have a direct file folder that the music will remain in?

Posted on Mar 27, 2023 8:17 AM

Reply
Question marked as Top-ranking reply

Posted on Apr 4, 2023 5:38 AM

I know it is really OCD of me, but if I look in iTunes > Preferences > Advanced at the media path it doesn't put spaces around the slashes.


There are also two possible layouts for the library:

  • <Media Folder>/<Artist>/<Album>/[D-]##<Name>.<Ext>
  • <Media Folder>/Music/<Artist>/<Album>/[D-]##<Name>.<Ext>


Which one you have depends on a hidden preference file. Again, see Managing your Mac media libraries - Apple Community and the section on iTunes Media Organization for details. The media folder path could include a terminal /Music and the library be in the first layout, or the path doesn't include the final /Music but the library is in the second layout. You may also want to explicitly avoid adding the last /Music folder when rearranging things with the Music app as it seems somewhat redundant.


From your description it isn't clear what the exact value under iTunes > Preferences > Advanced is. Or indeed if you're talking about iTunes when in fact you're running Music under Catalina or later and we should be talking about Music > Preferences > Files when looking for the media folder setting.




Macs have this great feature that, as a rule, you can normally move files from one place to another within the same volume and whatever software has references to those files it will still be able to find them. This means that you can usually manually rearrange content the way that you want to without breaking things. That said, ideally you would let iTunes/Music take care of moving the files and updating its references so that you can be certain nothing gets broken. You mentioned that you thought your paths had too many nested folders. There are two options here. One is to choose a new media folder anywhere, and then consolidate to that folder. This makes copies of everything, which takes time, and if your library is larger than the available free space will fail. After consolidating you have to manually clean up the original files. The alternative is to choose a new media folder at a higher level within the existing path. E.g if the current path is .../Apple Music Library/Music/Media/Music you could pick any of the following to be the new media folder.

.../Apple Music Library/Music/Media

.../Apple Music Library/Music

.../Apple Music Library


Once the new folder has been picked if you turn Keep organized off, and then back on again, the files will be moved to new locations within the current media folder, so no new copies are created, which is a much faster process, and doesn't require further manual housekeeping. Because this is a Mac you could also potentially change the name of the top level folder as a separate action at some point. In either case it is a good move to backup your iTunes or Music library files before making changes.


tt2

Similar questions

11 replies
Question marked as Top-ranking reply

Apr 4, 2023 5:38 AM in response to DominicCarter

I know it is really OCD of me, but if I look in iTunes > Preferences > Advanced at the media path it doesn't put spaces around the slashes.


There are also two possible layouts for the library:

  • <Media Folder>/<Artist>/<Album>/[D-]##<Name>.<Ext>
  • <Media Folder>/Music/<Artist>/<Album>/[D-]##<Name>.<Ext>


Which one you have depends on a hidden preference file. Again, see Managing your Mac media libraries - Apple Community and the section on iTunes Media Organization for details. The media folder path could include a terminal /Music and the library be in the first layout, or the path doesn't include the final /Music but the library is in the second layout. You may also want to explicitly avoid adding the last /Music folder when rearranging things with the Music app as it seems somewhat redundant.


From your description it isn't clear what the exact value under iTunes > Preferences > Advanced is. Or indeed if you're talking about iTunes when in fact you're running Music under Catalina or later and we should be talking about Music > Preferences > Files when looking for the media folder setting.




Macs have this great feature that, as a rule, you can normally move files from one place to another within the same volume and whatever software has references to those files it will still be able to find them. This means that you can usually manually rearrange content the way that you want to without breaking things. That said, ideally you would let iTunes/Music take care of moving the files and updating its references so that you can be certain nothing gets broken. You mentioned that you thought your paths had too many nested folders. There are two options here. One is to choose a new media folder anywhere, and then consolidate to that folder. This makes copies of everything, which takes time, and if your library is larger than the available free space will fail. After consolidating you have to manually clean up the original files. The alternative is to choose a new media folder at a higher level within the existing path. E.g if the current path is .../Apple Music Library/Music/Media/Music you could pick any of the following to be the new media folder.

.../Apple Music Library/Music/Media

.../Apple Music Library/Music

.../Apple Music Library


Once the new folder has been picked if you turn Keep organized off, and then back on again, the files will be moved to new locations within the current media folder, so no new copies are created, which is a much faster process, and doesn't require further manual housekeeping. Because this is a Mac you could also potentially change the name of the top level folder as a separate action at some point. In either case it is a good move to backup your iTunes or Music library files before making changes.


tt2

Apr 3, 2023 5:10 PM in response to DominicCarter

You can move files up the existing tree by picking a higher level folder to be the media folder and then turning Keep organized off and on again. It would be useful to know what the official path to the media folder is now. I'm going to guess .../Dropbox/Music Library/Music/Media, with iTunes adding in the /Music before the <Artist> folders because of iTunes Media Organization. If so you could, for example, select .../Dropbox/Music Library/ as the media folder, and have iTunes pop all the files up a couple of nested folders without having to create copies internally. Of course Dropbox is still going to take hours to process the changes.


tt2

Apr 3, 2023 1:41 PM in response to DominicCarter

As above the Copy files option only applies to newly added content that is located outside of the designated media folder when you add it to the library.


Choosing a new media folder location may prompt you to consolidate the library to this new path, or you may need to consolidate manually using File > Library > Organize Library > Consolidate Files. When you do so any file located outside of the media folder will be copied into it, using the standard iTunes/Music layout of artist and album folders.


tt2

Mar 27, 2023 8:48 AM in response to turingtest2

Just the person I was hoping would reply. I read your split library article before messing around with my iTunes. Dropbox is not touching my music for the most part as I’m just navigating on local storage and I have it set to offline and not “online only” - the program I’m using in conjunction is fully supported & I did not want to have duplicate media. I wasn’t expecting that clicking the button would move media that was already previously organized by apple / iTunes.

Apr 3, 2023 11:42 AM in response to turingtest2

I’ve decided that I wanted to go back to having “keep organized” checked. Waiting for it to finish organizing. A full 36 hours so far. Almost done. What Is the best way to point to a specific location? Meaning I want a specific file path after it’s all done without it going through this dreadful process again. Would I be able to move the location of media and point to and iTunes simply carry on and store all media there?


Also I haven’t clicked “copy to media folder” yet because I was worried it would attempt making a duplicate copy of media while organizing. Is it okay if I check this box option after keep organized finishes so it can copy to media folder for any files thereafter from that point?



Apr 3, 2023 1:49 PM in response to turingtest2

So the paths are repetitive current Dropbox / music library / music / media / music - the steps I would take would be to move the already organized music (maybe caller “media” folder to Dropbox / music library / media - this would be the desired path. Consolidation on an already organized media folder would still take place after pointing to this new location? What I’m asking is if this grueling 48 hour process will take place all over again despite the media already being organized? Sorry for any confusion this is the biggest change in my music library that I’ve ever done in the past decade. I’ve typically had my music located on the default path but have decided to embrace Dropbox because I use it in conjunction with another program for work. I know they are not destined to play nice but so far from majority of my tests this past 2 weeks everything works fine. Only massive mistake I made was listening to those that told me to self manage my music by unchecking those boxes. For me personally keeping those boxes ticked is the most logical choice for my workflow given that iTunes is an incredible id3 editor for metadata and the available scripts are amazing. So no need to try and self manage and memorize and do drag and drop to custom genre based folders etc

Apr 3, 2023 8:13 PM in response to turingtest2

Apple Music Library / Music / Media / Music is the path now


so you’re saying I’d have to move organized folders from the “music” section higher up to Apple Music library & then turn off & on “keep organized” & then it shouldn’t take 2 days to process? I would click “keep organized” AFTER pointing to the updated directory? Or do I not have to physically move the music since iTunes would already know the last known location and do that automatically once checking the boxes & pointing to “Apple Music library” ?

Apr 4, 2023 7:44 AM in response to turingtest2

apple music player via Ventura. I did as you said and I was prompted “do you want to move and rename files to match keep organized setting?” I assumed to click yes because I saw the word “move” - looks as though it will take yet another lifetime. What if any did I do wrong? Or is this the process that’s supposed to happen. I’ve open d both locations and I see one decreasing ever so slowly (the older redundant folder) - and the newer correct path increasing in folder/file amount. Maybe I’m being impatient but moving files are typically extremely fast with an M1 Max MacBook Prob with internal SSD. Hopefully I’m underestimating the speed and will see dramatic progress within 5-8 hours. It’s such a lengthy step with such a large library. Just imagined it being smoother. There is a change coming to Dropbox and Mac OS where the file path will change. Nobody knows for sure when but it’s coming. I dread this day but it should be a final change for a few years. Side note one thing I truly wish Music app had was a column for date created for file creation date. Truly would have saved my life. I had a long-standing problem where music was running unbearably slow. Only fix was to create a new music library file. Running at full speed now but I lost important “date added” information that I had for 12 years. For my work it is very important. We can sort by year but it’s still too broad. Hope this will be implemented at some point.

Mar 27, 2023 9:04 AM in response to DominicCarter

Keep organized... tells the library it can rearrange files and folders inside the media folder to match the standard iTunes/Music layout of <Media Folder>[/Music]/<Artist>/<Album>/[D-]## <Name>.<Ext>. The media folder layout flag indicates whether the additional /Music folder will be present inside the media folder. If Album Artist is not blank it will be used for Artist in this layout. Enabling the option will check and if necessary rearrange content to match this layout. CD rips, format conversions, and store downloads always use the standard layout.


Copy files... when enabled ensures that newly added media is always copied into the media folder if added from some other location. You can use File > Library > Organize Library > Consolidate Files to copy anything currently known to the library that isn't inside the media folder. Enabling the option doesn't automatically copy anything. You may get a prompt to consolidate when changing the designated media folder.


tt2

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

moving iTunes Media files

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