Trouble moving lots of music files

Hi,
First of all, thank you for reading my post. Here's what I wanted to do: In the music folder of iTunes, every music files are classified in their respective Artist/Album folders. I wanted to take all those files and move them to one folder. Here's what I used:
find . -name '*.mp3' -exec mv {} ./Music \;
It created a single file named Music with all my files. First of all, is there a way to recover all those files or are they lost? Second, what was the command I should have used instead of this.
Thank you again for the help
iBook G4 (12)   Mac OS X (10.3.9)  

Hi Francis,
> It created a single file named Music with all my files.
   Ouch! I'm afraid that I don't think that's possible. Did a directory named "Music" already exist in the working directory at the time you executed the command? If it did exist then the command should have done exactly what you wanted; it should have moved all of the MP3 files into that directory, barring name collision.
   If the directory did not exist then the mv command would have no way of knowing that you meant it to be a directory. The first MP3 found would have been renamed to "Music" and moved to the current working directory. However, all of the other mv commands probably did the same and each one overwrote the previous one. Therefore I expect that your "Music" file is actually just the last MP3 file found and the rest have been lost. I'm afraid that you'll have to restore from backup.
   I realize that it's closing the barn door after the horses are out but the mv command provides -i and -n options to avoid this problem.
Gary
~~~~
   And don't tell me there isn't one bit of difference
   between null and space, because that's exactly how
   much difference there is.
      -- Larry Wall in <[email protected]>

Similar Messages

  • IPad-iPhone-Lots Of Music Files

    Hi!
    I have an iPad2, 32GB, and an iPhone4S, 64GB, running iOS5. I have lots of m4a Music files.
    What is the best way to keep music files in iPhone only, not to be copied to iPad? So, iPad will not run out of space too soon too fast?
    Thanks!
    m

    Don't sync music on the iPad, and in settings / store, turn off automatic downloads.

  • Copying lots of music files at once

    Sorry if this has been asked before....but I'm trying to move around vast numbers of music files between areas on my MacBook Pro and if I try and do too many, it won't let me.
    For example, I have 2 users set up on my laptop. One is the main user and the other is for a spare iTunes so I don't have to delete files when the iPod gets full - I can just move them about. So I occasionally move a number of files between the 2 by copying from one iTunes to a drop box and then going to the spare user then copying them again to the iTunes for that user. Sometimes it'll let me do 1000 or more songs, but other times it gets stuck at around 50 or less.
    AND I'm trying to back up ALL of my music files to an external drive. Obviously I want to just drag and drop as many as I can (i.e. 1000s!) and leave it running while I do other stuff, but again it won't let me.
    Any ideas? Is there a limit to how many files /GB you can move? It's weird as when I first got the MacBook Pro I backed up the music straight away to a spare drive and I'm sure it worked ok without having to do a couple of hundred at a time or something like that.
    Please let me know if you can help - thanks!

    Thanks Matt.
    In response...
    "First of all, I have to say that your method of managing iTunes seems a little complex. Wouldn't it also work just to manually manage iTunes (instead of automatic updates) and then you can move whatever songs you like to the iPod?"
    I prefer to sync and not work manually. Easier for me to do than manage songs individually. I have a full 80GB iPod - manually managing isn't something I really want to do. I've got about 85GB set up in the spare user account also. The spare user is basically there for music I doubt I'll want to listen to for ages but don't want to delete. If I had 150GB in the same iTunes and was manually picking out tracks, it would kill me! I know that works for other people, but not for me.
    "When you move files around, are you moving a single top-level folder, or multiple files or top-level folders? I've found that moving a single folder (that may itself contain hundreds of items) is more efficient than trying to multiple-select and move the enclosed items."
    I'm trying to move multiple files from iTunes to a single folder. I hear what you're saying, but basically I have a playlist of about 1,200 songs that I want to move from my MacBook to the external spare drive, and also want to move about 500 songs from one iTunes to another. I know what you mean, but I need to be able to copy from from iTunes to a separate folder all at once.
    Maybe if I was able to export playlists from one iTunes to another that would be easier? I used to do that on a PC and it worked fine, but can't get it to work on this Mac.
    Anyway, I don't understand why it's not an easy task to simply copy a number of files from one location to another, regardless of amount or size....shouldn't be THAT hard should it?
    To do what you suggest, I'd need to have moved the files into a top level folder in the first place and that's what I'm struggling with I think....any ideas?
    Thanks for getting back to me - appreciated!

  • After an update, my itunes library was moved to my music file.  I tried moving the file (itunes library.itl) into itunes, it said that the file was locked.  How can I get the file to be unlocked so it can be moved?

    Need help trying to get Itunes library back on my Itunes

    Disabled
    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up     
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        
    If problem what happens or does not happen and when in the instructions? When you successfully get the iPod in recovery mode and connect to computer iTunes should say it found an iPod in recovery mode.
    If you previously synced to the computer then you may be able to recovery use of the iPod without erasing the iPod by following the instructions here:
    Disabled Recovery-must use syncing computer.

  • ITunes music files did not transfer afte rebooting OS software

    hi there
    I had to reboot system 10.3 software- I was happy because I had everything backed up on a Lacie external drive that i had formatted as a bootable disk. So when my iBook came back from the repair shop with a new blank OS and asked me if I wanted to transfer files from another computer, I did, from the Lacie hard drive. Only my iTunes music did not transfer, and so far it seems like I have to import files one by one- I can not figure out how to import the whole lot of music files.
    Additionally, all my other files, mostly Word, were imported with the "created on" date all set to 1970, for some reason. That is annoying; any ideas from anyone? Thank you very much
    F
    iBook G4   Mac OS X (10.3.9)  

    ctblubird wrote:
    Hello
    A couple of years ago, I purchased my first MAC OS X 10.7.5
    I transferred my iTunes library from my old PC to the new MAC.
    You transferred your library to your Mac a couple of years ago?
    Or you have been using the Mac for a couple of years and just now transferred the library?
    I followed instructions,
    What instructions did you follow?

  • ITunes 8.2 has problems handling larger music files

    Hi,
    After upgrading to iTunes 8.2, I have begun to notice that the program is halted with larger mp3 files. I have quite a lot of music files with size 200MB and above and before opening them, iTunes stops for about 10-15 seconds (with "beach ball" on the screen), then the playback starts normally. This is not an actual problem, but pretty annoying though. iTunes 8.2 behaves in the same way both on my black MacBook, as well as on my oldie G4 iMac running Tiger. Never noticed such a behaviour with earlier 8.1 version of iTunes.
    Has anyone encountered similar problem and could there be any remedy? Thanks in advance.
    Cheers,
    Matt

    iso_omena,
    I can't duplicate your problem here, so maybe there's something about your machine or the software installed on it. Do you have any iTunes plugins installed?
    You can also take a sample of iTunes while it's hung and send it to our good buddy, Roy, who will forward it to the right Apple engineers. To sample iTunes:
    1. Open the terminal app in /Applications/Utilities
    2. Get iTunes into the state where you have the spinning cursor and the music's not playing.
    3. At the command prompt in the terminal window, type in "sample iTunes 10". This will sample iTunes for 10 seconds and then tell you where it put the output file.
    4. You need to send that file to <[email protected]>. Make sure that you include:
    (1) the sample file.
    (2) the link to this thread.
    (3) a one line description of your problem, i.e. "iTunes crashes on launch".
    (4) the username that you're using here in the discussion boards.
    Roy is getting a little swamped with messages and needs to make sure he gets all the information. And if he doesn't get that information, the message is just going to get dropped on the floor.

  • HT203167 itunes music files are missing

    1. redirected my itunes music folder to mac's main music library;
    2. later on, i accidentally moved all my music files to somewhere else;
    3. i press cmd z for undo, and all the files went back, but;
    4. now itunes can't locate any of the music files, however;
    5. if i check my music library folder, its still got 19.28 GB on it, but the main music files aren't there in their respective
    so where can i find them??

    ps. i tried looking for a specific missing music files and it said, "missing alias"

  • How do you move music from your music file to itunes so it will share with my iPhone?

    Some of my music moved from my music file to itunes, not sure how, but some of it has not. It is things I brought in from my old phone. I would like it to be in my iturnes so that it will automatically go to my iphone.

    Do we have to repurchase all our music we have already purched on CD through itunes? This would be TERRIBLE!!!

  • HT203433 I am having trouble moving my music to my new computer. I have enable homeshare. it does not show any files in my homeshare. How do i get them out of the normal files into home share

    I am having trouble moving my music to my new computer. I have enable homeshare. it does not show any files in my homeshare. How do i get them out of the normal files into home share

    Welcome to the Apple Community.
    The following article(s) may help you.
    Moving your iTunes library to a new computer

  • I have PC with Windows 7 and iPad. My music in iTunes on PC is available under Music on iPad but having trouble moving music to i-Cloud. I suceed in moving the music to iCloud on PC but when I look at iPad music still on device and not in iCloud. Help?

    I am a beginner using Apple software, so please bare with me.
    I am having trouble moving music from the iPad to iCloud in order to save space in the device.
    I realise that in order to store music not purchased on iTunes store can only be stored in iCloud if you subscribe to iTunes Match which I have done.
    Appears that moving music from iTunes on my PC to iCloud is successful by deleting song or album in iTunes library and than click on "Keep song" instead of sending to recycle bin. After this has been done the Cloud Icon appears on the album or against the song. However when I then look at Music on the iPad the album or song have not been moved to iCloud. I have tried syncronising with cable connected between PC and iPad. After that has been done the message is that sync was successful bujt still music has not been moved into the Cloud.
    Can anybody help? What am I doing wrong? Is there a way to move the music to the cloud working on the iPad only (without trying to use the PC to move the music to the cloud)?

    You can only add music to iTunes Match from your iTunes library on your computer, not from your iOS device.  If you have music on your iPad that is not on your computer, you'll have to import it to your iTunes library on your computer to add it to iTunes Match. 
    Music purchased from the iTunes store can be imported directly to your iTunes library by authorizing your computer for the Apple ID(s) used to purchase the music (in Store>Authorize This Computer), then connecting the iPad to your computer, opening iTunes and going to File>Devices>Transfer Purchases.  Music from other sources will require using 3rd party software to transfer to your computer, such as Touch Copy.

  • Having trouble recovering music files from data cd

    Over a month ago my computer crashed, possibly due to me trying to update my ipod to Version 1.1. Unforunately a lot of my programs weren't working after that, including Itunes, but I still have my music files which I could not listen to so I decided to save them as data so that they would not be lost forever. I was finally able to get Itunes up and running a couple of days ago, the music files on my harddrive have been deleted. I am now having trouble getting the songs from the cd I had burned to back onto my hard drive, I have tried Apple's method of dragging the files to the Source List while in Itunes, but this does not work. I have also tried Importing the songs, copying the file, and copying the folders, but none of this works. Sorry for this being so long

    Welcome to the Apple Discussions. What do you have set in the System/CDs and DVDs preferences to do when a disk is inserted? If the option is not set to the Finder do so and see if that will make any difference.
    Otherwise boot into Safe Mode and see if you can copy the files from the CD to a folder on the Desktop. Boot back into your normal account and see if you can import. Or import while still in the Safe Mode.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.
    I've written an Automator workflow application (requires Tiger), iPhoto dB File Backup, that will copy the selected Library6.iPhoto file from your iPhoto Library folder to the Pictures folder, replacing any previous version of it. You can download it at Toad's Cellar. Be sure to read the Read Me pdf file.
    MBP 2.16Ghz; G5 Dual Core 2GHz, 2G RAM ea, 250G HD; G4 Dual 1Ghz, 1.5G RAM;   Mac OS X (10.4.10)   22" LCD, 710G FW HDs, Canon: SD700IS/i850/LIDE 50, Epson R200, 30G iPod, 2G Nano

  • Moved iTunes library to Vista PC but iTunes 'can't find music files'. Help!

    I'm running iTunes 7.1.1 on a new Vista PC and I followed the instructions on this support site for transferring the library using an iPod.
    All songs (with artwork) are showing in the new PC's iTunes library, BUT all have a '!' symbol to the left and refuse to play. It offers to let me find them, but this would take hours for the thousands of tracks. I've tried consolidating but to no effect. All the music files are in the iTunes library folder, so why can't iTunes access them?
    Can anyone help?

    I'm running iTunes 7.1.1 on a new Vista PC and I
    followed the instructions on this support site for
    transferring the library using an iPod.
    All songs (with artwork) are showing in the new PC's
    iTunes library, BUT all have a '!' symbol to the left
    and refuse to play. It offers to let me find them,
    but this would take hours for the thousands of
    tracks. I've tried consolidating but to no effect.
    All the music files are in the iTunes library folder,
    so why can't iTunes access them?
    Can anyone help?
    hi i to have a similar problem, i moved my music file for another problem i had and now it has removed all my files from itunes, albums and playlists as well, they are still on the pc and i have moved them back but i seem to have to start again, this will take weeks to do, i hope someone can help us.

  • HT1473 Help I just moved my music files to a external hard drive and am using the new crappy version ( i know my opinion) of itunes and cant add the files to my libray it gives me the add file to library option but not the add folder to library option wha

    Help I just moved my music files to a external hard drive and am using the new crappy version ( i know my opinion) of itunes and cant add the files to my libray it gives me the add file to library option but not the add folder to library option what am i doing wrong?

    In iTunes 11 uncheck the preferences setting in in the iTunes Preferences panel "Advanced > Copy Files to iTunes Media folder when adding to Library"

  • I have a Windows 7 laptop using I tunes 64 and all my music files are on an external disc. I rarely use I tunes and at one point moved all my files (including the music files) from one external disc to another without considering what affect this wou

    I have a Windows 7 laptop using I tunes 64 and all my music files are
    on an external disc. I rarely use I tunes and at one point moved all my files
    (including the music files) from one external disc to another without
    considering what affect this would have on the I tunes library. When I eventually
    attempted to use I tunes, every selected a song from the library resulted in a
    message stating that the file couldn't be located. After following some of the procedures
    explained in this community I was able to reconnect the library back to where
    the associated music files are presently stored. However, there are still 2
    problems that need to be corrected. 1) Every song file now has a duplicate. One
    file works and the other file will result in the same message stating that the
    file couldn't be located. Before there were 4,000 songs in the library, now
    there are 8,000 songs. I need to eliminate the 4,000 dead song files. 2) All
    the playlists are still associated with the dead song files which makes the
    playlists unusable. Can the playlists be reconnected to the usable files
    without manually having to recreate them? Thanks in advance for the help.
    sdkr

    So am I understanding correctly?
    You used your iPod as a hard drive (drag and drop) instead of having iTunes install the music?
    If you used drag and drop your choices are different than if you used iTunes to transfer.
    Good luck!

  • Uh Oh...I manually consolidated/reorganized a lot of my 38k+ music files and now iTunes is not able to locate them!

    Hi there,
    So, I realize now that what I did was stupid...but it's done and now I need to find a solution.  I have an external drive with over 38,000 music files so I decided I would consolidate all my music into one location.  By doing this, I renamed file locations, renamed artists (corrected spelling, etc.) and when I thought I was done (and so proud of myself), I noticed that iTunes now no longer knew where to find anything.
    I searched these forums and the internet and I can't seem to find a solution to my problem.  Everything I find involves moving the file through iTunes.  Well, since I've already passed that point, I was hoping there's an easy way to help iTunes find my music (rather than album, by album - as, with the size of my library...it would seem like an impossible task).
    The other problem I see is, I have several different iTunes folders in my computer.  This is probably due to upgrading systems (computers...not iTunes), obtaining an External Drive, etc.  I'd like to clean this up somehow but each time I try to...it seems that I make it worse.
    Anyone out there able to help me?
    Thanks!

    The exclamation mark for missing files is shown if the file is no longer where iTunes expects to find it. Possible causes are that you or some third party tool has moved, renamed or deleted the file, or that the drive it lives on has had a label change. It is also possible that iTunes has 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.
    Select a track with an exclamation mark, use CMD-I to get info, then say no when asked to locate the track. Look on the summary tab for the location that iTunes thinks the file should be. Now take a look around your hard drive(s). Hopefully you can locate the track in question. If a section of your library has simply been moved, or a drive label has changed, it should be possible to reverse the actions. I can provide a step by step guide if you give me the two paths.
    In some cases iTunes may be able to repair itself if you go through the same steps and locate the lost track. It may then offer to attempt to automatically fix other broken links, which should work if they are in the expected layout.
    tt2

Maybe you are looking for

  • Linking Oracle Process id with windows process id

    hi, i am using oracle database 11g(11.1.0.6.0) in windows 2003 server. i have an oracle session established through an application server. i have found the process id of that session by comparing the v$session and v$process tables. Now i want to comp

  • Memtest and Memory Slots

    I have been running memtest on my system as I'm fine tuning it and was experiencing tons of errors. I've been diligently reading the boards for advice and began adjusting voltage, timings etc, until I realized one thing I hadn't tried--putting my sec

  • Cannot sync ipod to vista

    I am having 3 problems - 1. my ipod does not show as a device in itunes 2. the synch ipod selection in file is greyed out 3. the computer will not recognize my USB cable. I have tried reloading 7.3, buying new USB cables, using different ports and al

  • How to install applet onto the real card?

    Hello erperts, I am rather new to java card programming. I have downloaded java card kit and tested sample applications successfully. Now i have OMNIKEY CardMan 5121 card reader with some sample cards(i dont know the type for cards), i just want to i

  • About Screen in Calculator

    You might have noticed a theme that a few of us are working on a Windows Calculator. I am trying to find an easier way of creating the "About Calculator" screen. I was hoping there was something similar to what was used for the help menu, but I could