ITunes library consolidation error: "Copying files failed. An unknown error occurred (-50)."

My iTunes library has outgrown the HDD on my iMac, so I've started to migrate it over to a Synology NAS.  The iTunes Media folder is set to the NAS, but when I attempt to consolidate the library the operation fails each time with the error: "Copying files failed. An unknown error occurred (-50). 
I have found this references to this error in the communities from Windows users, but I only use Macs.

Just trying to give this topic a poke as I am having a similar issue.
I am rebuilding my library that was on an external drive.  I had a backup of much of the files, but not a direct backup of the iTunes media folder, as well I am now moving it to a new iTunes Media directory on a Synology 1813+ NAS running DSM 4.3 vs. a USB attached drive.
I have followed all of the correct procedures to move the media directory by using the tools within iTunes, and that all worked perfectly.
So far iTunes has been able to locate most of the music files through its own processes. Once it completed that process I then initiated "Consolidate files" to move the found files to the new iTunes Media directory on the new NAS.
I am led to believe that the issue is with a specific file that causes the copy process to stop, but I don't know how to capture what file it might be.
I am not seeing anything relevent in the console log.
Hoping someone can throw me some ideas...
iTunes 11.1.2 (32) - iMac 2.8GHz Intel Core 2 Duo 4GB RAM - OS X 10.8.5

Similar Messages

  • Copy files failed: An unknown error occurred (-50), copy files failed: An unknown error occurred (-50)

    Can't consolidate my library.  Any clue as to the fix?

    Do you have a line number? The script prossibly makes an unjustified assumption that the Album Artist field always exists though I thought I'd covered that one.
    Looking at the script there are two locations where the value of .AlbumArtist is read - the second one shouldn't ever cause an error. The first one has never done so for me, but I suppose it is possible if the "first" track in your library isn't a standard audio track...
    If the error line is 143 would you mind adding the following line of code before the current line:
    If I=1 Then MsgBox .Name    ' (letter i = numeral 1)
    Can you find the object with that name in the library, and if so what kind of object is it?
    tt2

  • I am using itunes 10 and trying to consolidate my files.  I keep getting the error "Copying files failed.  The file name was invalid or too long".  How can I indentify what file is causing this problem or resolve this issue?

    I am using itunes 10 and trying to consolidate my files.  I keep getting the error "Copying files failed.  The file name was invalid or too long".  How can I indentify what file is causing this problem or resolve this issue?

    BUMP
    Yes, I just get that message. I don't see how I could investigate this problem.
    I didn't mention that this happened when I was consolidating my library, not copying files to another computer.
    In other words, I'm using a "normal" itunes procedure, itunes won't complete it, and won't tell me exactly why or how to figure out how to fix it...
    Is there at least some easy way to tell which files were successfully copied to my itunes music folder so I can work on moving the uncopied files?
    Can anybody help me?

  • I'm getting error "copying files failed. the required file is in use". How do I find the file?

    I've found this question is elswhere but no answers.  I'm trying to consolidate my library to an external hard drive since I'm pretty sure my current drive is about to fail.  The entire process has taken me days due to one error or another.  This is my most recent error and so far there is no way around it since it does not show me what file is in use.
    Help?

    I used "Carbon Copy Cloner" to copy my library from one external disk to another.
    The "library" consists of a bunch of files and folders (see links at end).  You don't need CCC to copy it, just drag the whole iTunes folder in your Home > Music from one drive to the other.
    I pointed my iTunes library to the new location under iTunes preferences.
    No, don't do it with preferences.  Once you have moved the folder as above, start iTunes with the option key held down and guide it to the library.itl file on the new drive.  This is assuming you have been using iTunes's default settings and haven't been managing your media yourself.
    I used iTunes to "Consolidate Library" to verify that all files had been moved.
    Okay, in doing that you have  moved just your media to the new drive but left all your other library files on the old drive.
    iTunes succesfully copied/re-attached a lot of files before giving me the error that the disk could not be read or written to.
    Try it with my method.
    I began to troubleshoot the hard drive by checking the cables and scanning for errors.
    This disk checked out fine.
    I identified the failure and subsequent error was due to corrupted files.
    I watched the consolidation process and was able to see which file it was trying to copy before it errored out.
    I deleted the corrupted file and restarted the process (I repeated this numerous times).
    When the process seemed to be just about over, I got the error "Copying files failed. The required file is in use."
    I'm sure this is likely another corrupted file, however, it happens so fast that I have no way to identify what file is causing the problem.  I tried making sure no other processes were running and no other windows or media players were open.  I also tried to look for an error log but was unsuccessful.
    Any ideas?
    Disk Utility will scan for a corrupt directory but I don't think it works on the file level if it is a single file that was corrupted.  I know I have seen Carbon Copy Cloner pick up on single file error when I had one sitting on a bad sector of a drive several years ago.  If you can identify the corrupt file this way then you will have to use a backup copy since it is unlikely it can be rescued.
    If you have Diskwarrior it has a file check utility.
    You have, of course, restarted your computer before doing all this, and keep other computer activity to a minimum (don't play music while copying the files and don't use other applications that coupld potential be trying to get access to your files)?
    What are all those iTunes files? - http://www.macworld.com/article/139974/2009/04/itunes_files.html
    iTunes 9 [and later]: Understanding iTunes Media Organization - http://support.apple.com/kb/ht3847

  • Itunes wont consolidate becuase "copying files failed...."

    itunes wont consolidate because "copying files failed. The file name was invalid or too long." why to i get this error message and how do i fix it? I am using itunes 9 on a dell windows xp laptop. i am trying to consolidate the library but it does not work becuase of the error message. please help. Thank

    I'm having similar problems, but Katrina S's suggestion didn't work for me. From my desktop, I'd transferred my music files to an external USB hard drive and the library database files to my laptop. iTunes plays perfectly, but I get the same error message when I try to consolidate. I changed permissions on the external drive and on the iTunes library folder, when needed, to make sure either my user logon or an administrator (which includes me) had full permissions. Still can't consolidate, though. CarolynOtt, did you find a solution yet?

  • The iTunes Library could not be saved.  An unknown error occurred -50

    I moved my itunes to an external drive that I am accessing wirelessly (it is pugged into by time capsule).  When I open itunes I can see and access all of my songs and videos fine but I keep getting the error message "The itunes library could not be saved.  An unknown error occurred -50".  This must have something to do with moving itunes to the external drive but I can't figure out how to stop this message.  I am running itunes 10.4.1 on Mac OS 10.7.1.
    Can someone please help?
    Thanks,
    Lisa

    Might be something here that will help >  iTunes Store: "Error (-50)" when downloading purchased content

  • Moving library to external hard drive and get the error "Copying files failed. The disk could not be read from or written to"

    Hello,
    I'm moving my library to an external hard drive.
    I've made sure to use the 'Keep iTunes Media Folder Organized' option when pointing to the new library location.
    I select 'File'->'Library'->'Organize Library', I select to 'Consolidate Files', click 'OK' and get ther error message "Copying files failed. The disk could not be read from or written to".
    I've read elsewhere that there may be a corrupted file that I need to sequester somehow and perhaps add it back however I'm not certain how I can locate that file because the status window doesn't indicate which file it's attempting to transfer when the error appears.
    Any tips?
    Thank you,
    Greg H
    iTunes 10.6.3

    OK I figured it out!
    It was a dodgy file....I sorted the file folders by date, and as it turned out within the "compilations" folder there was a CD where only about half the tracks seemed to have been copied over. Could not have identified this simply from the time indicated on the finder folder sort, because there were several CDs copied over in the that same minute.
    I went back to the original itunes folder, deleted all the files from that CD in itunes, then also deleted all those files from the original disk and the target disk.
    Tried the "consolidate library" again, and it completed nicely. 200megs of music and videos.
    Very happy to solve this problem after 3 weeks.

  • Wind Vista SP2. iTunes 10.6.3.25. I'm trying to Consildate my Music Library on this PC, and get the error: "Copying files failed, because you don't have permission to change your iTunes Media folder or a folder within it."  My admin user has Full Control

    Any suggestions would be greatly appreciated!

    I did what you suggested on all three folders: The main Music folder on the Mac hard disk, on the iTunes folder on the external 160GB Hard drive which contains the current media content and on the new 2TB hard disk on which I created a new media folder. I selected permission for myself which were already read+write and chose the apply to enclosed items on all three folders. I then changed the permission for others to read+write and applied to enclose items also an all three folders.
    But it didn't solve anything.
    Here's what happens: I choose the new directory in iTunes preferences (the media folder on the 2TB disk) I then go to File > Library > Organize Library and then choose Consolidate files. A window pops up and says copying "filename" with a progression bar underneath but the filename never changes. Instead the beachball appears when the mouse pointer hoovers over iTunes. Upon pressing the iTunes icon in the Dock it says that iTunes is not responding. At this point there's 2 different ways:
    A - If I then force quit iTunes the iTunes window disappears but the application does not close. When I want to eject the 2TB disk it says it's being used by another application. Only when I cut the power to the 2TB disk does iTunes fully close. A window then pops up and says that the drive was not put away properly etc.
    B - if I cut the power to the drive without force quitting iTunes, a window appears with the said: "Copying failed because you don't have permissions to change iTunes media folders etc." iTunes remains open and fully functional.

  • HT1449 copying files failed. the disk could not be read from or written to.

    Im moving my iTunes to an external hard drive. Its moved about half already and Im now getting this error. I have no idea what file its getting stuck on so I cant remove that file. When I restart it it will say preparing to copy then I get the error right away. I dont want to delete the extrenal and start over if I dont have to.

    Ive already changed the location for my itunes media to my extrenal hard drive so when i click to consolidate files Im getting the error
    copying files failed. the disk could not be read from or written to

  • HT1751 Consolidating ITunes Library Failed - message received: "Copying files failed. The file name was invalid or too long" . Please help - how to i fix this issue?

    I consulted your website for details on how to back up my ITunes Library on my PC-found the article very helpful-I reached step 7 - clicked ok and the following message came up: "Copying files failed. The file name was invalid or too long."  Please can you help and advise what I should do or how to fix this issue.   My pc operating system is Windows 7 Home Basic

    You can select a group of tracks and consolidate from the right-click context menu. You coud try consolidating in batches, say all songs by artists beginning with A, then B, etc, then the other media types, until you can isolate a problem track and then try moving that by hand and fixing the broken link.
    I also have two scripts that could help you, Unconsolidated and ConsolidateByMoving. The first can make a playlist of all unconsolidated tracks, the second can consolidate a selection of tracks by moving them instead of copying.
    tt2

  • When trying to 'Consolidate Files' via iTunes I get the message "Copying files failed. The name was invalid or too long."

    I am trying to copy my entire iTunes library and everything in it from my PC Desktop to my PC Laptop using the "External Drive" method as shown on the Apple website. On Part 1 (5) I am told to consolidate files. When attempting to do this I get the message "Copying files failed. The file name was invalid or too long."
    How do I resolve this?

    I have just been having this problem and it has been driving me mad.   The error message doesn't tell you which file is causing the problem so you can't fix it and it leaves your libray in a state of limbo with some files copied into the new location and some in the old location.  After many hours I found a surprisingly quick and simple solution.
    1) in iTune create a smart play list that includes everything that was added before tomorrows date.  This will include everything.
    2) Right click this playlist and export it as a text file to produce a tab delimited file.
    3) Import this into a spread sheet, or just view it in a text editor with line wrap turned off.  What you are interested in is the last column (or end of the line in a text editor).  This gives you the path of the file associated with each entry in the library. 
    The path of the files that have already been copied successfully will start with the new location for your media files you specified.  Scroll thru the rows until you get a blank path.  If you start getting paths starting with the old Media file location then you went to far and start scrolling back.
    The row with the blank path was the file that failed.  Move back to the start of the row to find out more about it.  In my case it was a podcast with a very long name. I just deleted that podcast from iTunes.
    4) Restart the consolidation by choosing File, Library as you did before and the process starts again where it left off.
    5) If it fails again on another file just repeat the process

  • ITunes v10.6.1.7 "Copying files failed. The File name was invalid or too long."

    I'm trying to organize my music files using iTunes 10.6.1.7 and I keep getting the error message "Copying files failed. The File name was invalid or too long."
    I've got music folders by artist in both the iTunes Music folder and the iTunes Media/Music folder. When I add certain files by drag/drop they sometimes get lost and I don't want that to happen anymore. I used to just consolidate my music files using the File/Library/Organize Library option and that worked, however now when I do that, I get the error message.
    I'm a novice and the only online stuff I see is both confusing and refers to earlier versions of iTunes.
    My concern is that I have heard that people lose entire libraries of their music when they trry to fix things like this and I don't want that. If this is of any importance, I have several files called iTunes library and temp library. I have no idea what that all means but I'm scared to death of it.
    Also, I can't get to the "re-organize library" link at all. It won't let me.
    One thing that be of some interest is that when I pull up the properties of the music and media/music files they are marked "read only" I'm also afraid to touch that!
    Please help and please know that I am a dummy. Be kind and be clear. Step by step would be great, with images even better. Thanks.

    Perhaps nobody knows the answer? We're fellow users here answering questions in our free time when we think we've something useful to contribute.
    You can choose to *Consolidate selected tracks* with a right-click menu. Perhaps if you can identify a specific track that won't consolidate and examine the full path to the file & the path that iTunes would create when it consolidates the problem might become apparent. For example iTunes may not be able to move files if the source or destination path length exceeds 255 characters.
    tt2

  • Copying files failed. An unknown error occurred (-50)

    I currently have a PC (Samsung Q330 running Windows 7) and I am getting a Macbook Pro in a few days! Therefore I am transferring my iTunes (10.6) library to an external hardrive (Hitachi X250). While I was doing this I received an error message that read “Copying files failed. An unknown error occurred (-50)”. Therefore I was wondering, how the heck do I fix this???
    What I have done.
    I have gone in to “Advance Preferences”.
    I have changed the “iTunes Media folder location” to my external hardrive.
    I have the following two option selected “Keep iTunes Media folder organized” and “Copy files to iTunes Media folder when adding to library”.
    Then I go to File> Library> Organize Library. Then I select “Consolidate files” then I press the “OK” button.
    Then about half way in or so I get a pop up that reads “Copying files failed. An unknown error has occurred (-50).
    As you can see iTunes is not working. Could anyone help me???
    Thanks in advance, Donald Louch!

    Hmm... you may find iTunes is still connected to some files in the original location rather than the new one. You can check with my script Unconsolidated. If that is the case the script ConsolidateByMoving ought to switch the connection to a file already in the correct place however I'm currently working on a new build so the behaviour of the live version might be slightly different.
    tt2

  • Consolidate Library, Copying Files Failed

    I am trying to consolidate my library and when I run it I get an error message that says "Copying files failed, because you don't have permission to change your iTunes Media folder or a folder within it.
    Can someone tell me how to track down exactly where the problem is and where to fix it so I can consolidate my library?
    Upgrade to iTunes Media Organization is greyed out as I apparently have already done that sometime in the past.
    Thanks
    Carolyn

    I'm having similar problems, but Katrina S's suggestion didn't work for me. From my desktop, I'd transferred my music files to an external USB hard drive and the library database files to my laptop. iTunes plays perfectly, but I get the same error message when I try to consolidate. I changed permissions on the external drive and on the iTunes library folder, when needed, to make sure either my user logon or an administrator (which includes me) had full permissions. Still can't consolidate, though. CarolynOtt, did you find a solution yet?

  • Some items in the iTunes library were not copied because they could not be converted error

    When I try to sync my iPhone with my Windows version of iTunes I get the error "Some of the items in the iTunes library were not copied to the iPhone because one or more errors occurred."
    The error for all 3 of the songs is: "iTunes could not copy "song name" to the iPhone because the file could not be converted."
    The 3 songs are all songs that I have purchased from iTunes recently. One of them is just one song of an album that I purchased. If I go to my iPhone and download the songs from my purchased music section, they will download and play just fine. However, every time I sync the iPhone and iTunes I get the same error.
    I am using iTunes10.6.3.25. I am running 6.0 iOS on the phone.
    Thanks!

    I stumbled across this thread for the same issue.  I had 12 songs  that suddenly wouldn't sync from iTunes on my iMac to my iPhone 4. 
    I use iTunes Match and the missing songs were both purchased from iTunes and matched from CD's I had ripped.
    Per Winnits I also ended up deleting them and downloading them to resolve the issue.
    I took a screenshot of the error window ("Some of the items in the iTunes library were not copied to the iPhone "My Name iPhone" because one or more errors occurred.") showing a list of the songs.  Then I disconnected my iPhone.
    I then deleted each song (but NOT from iCloud) and sent the files to the trash.  The iCloud download icon immediately appeared and I clicked on it to download the song again.  A few of the song titles were the same, either from different artists or a couple of live and studio versions.  I deleted each one since you can't tell the specifics from the error message.
    Then I reconnected my iPhone, let it sync and everything was fine, no more error message.  I've no idea what the issue was…perhaps a corrupt file, who knows?  I'm just glad it wasn't more than the dozen I ran into.
    Hope that helps anyone that follows!

Maybe you are looking for

  • Script error?

    Hello people, I'm new to form design and scripts (and this forum) and have run into a brick wall that I have been unable to resolve and hope, it's a simple error that only a begginer would make, and one of you can easily resolve it. The form needs to

  • Deleting Inbound deliveries.

    Hi, I am trying to mass delete some inbound deleveries. They all have Article and header Goods Movement status "A". However when i try to delete them i get an error message No VL 111 tat says "The goods movement status (partially or completely proces

  • How do I get audiobooks into the audiobooks folder?

    There is an audiobooks folder on the first menu on my ipod but I can't figure out how to get audiobooks into it. When I make an "audiobooks" playlist it just puts it under the playlists menu but i want to see it under the audiobooks menu.

  • Need help with Web Services SDK.

    I am new to Web Services SDK can I get documentation on same.

  • Brasso refuses to work

    I have tried to use brasso to remove the scratches on my ipod 5g 30gb, but to no avail. I used a eyeglass cloth, and folloed the instructions to the letter, but the brasso created even ore scratches than there were before