OS X 10.8 or later. Assists with segregating iTunes Match tracks that appear to get cut-off when played (due to a possible bug, described here). Then these truncated tracks can be deleted and re-downloaded intact (by you, not the script).
Perhaps Also of Interest...
downloaded 4m 23s ago
Change file type to make selected AACs bookmarkable
downloaded 7m 17s ago
Export selected playlists as individual XML or M3U files
downloaded 19m 48s ago
Convert selected tracks and replace them with converted versions
downloaded 23m 30s ago
Gather audio tracks whose files contain no artwork metadata
downloaded 28m 3s ago
Perform search-and-replace on text in your choice of tags
downloaded 36m 7s ago
Select iPod tracks in iTunes and add them to iTunes