How do I remove files from iTunes which have been deleted on disk? When cleaning up my disk I deleted a couple of files from my music collection which iTunes was managing. Now when I try to sync a device I get an error message that it can't sync these files because they don't exist. The problem is that I can't find these files in iTunes any more to delete them. They don't appear when I search for appropriate terms. So, my question is how do I find them, and is iTunes hiding them from me in some "smart" way?
I've found the easiest most reliable solution yet! No scripts, no loss of playcounts/ratings etc.


Create a new playlist, say temp.
Select all your the tracks you want to deal with and drag and drop them to the playlist. The new playlist will only contain valid tracks. All invalid tracks will be marked with the exclamation mark.
Switch to the playlist and select all the tracks, then right-click and Uncheck Selection
Switch back to Music and sort by the checkmark - now all the invalid tracks are grouped together!
Select them all and delete!


You can then go and Check the songs again to make sure they get synced to devices.