OK, so I have a very large iTunes library and recently decided to sort through it and organize it in a much neater way than just throwing all my music in a folder and hoping for the best. So after many hours of moving files in and out or directories and waiting for iTunes to do whatever it is iTunes does, somehow I've ended up with a few missing songs. If it was 1 or 2, so what, i can find them by myself. But I'm missing a little over 30000 so I'm not too keen on the idea of looking for them manually.
So my question is, "Is there a way for me to, in a linux environment, find all of the files that are in 1 directory, that are not in another, and then move them?"
My folder structure looks a little like this:
Parent Directory (External Hard Drive)
- Missing Files (there's 4 of these folders
- Hundreds of Folders with Artist names (some have .mp3 files here, others have another subfolder, and others have another subfolder again)
- Parent Itunes Directory (Where iTunes keeps Music, Playlist files, Podcasts, etc)
- Missing Files (there's 4 of these folders
(I'm really bad at lists in these questions^) So what I need, is to move anything that is in the "Missing Files" directory that isn't in the "iTunes Folder"
Thank you for any help in advance guys, I really appreciate it.
Note: I only want to move the mp3 files from the folders, not the folders themselves.