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 7m 16s ago
Re-locate files of selected tracks to new folder, preserve track meta-data
downloaded 12m 3s ago
Set year of selected tracks to their release date's year (if available)
downloaded 14m 6s ago
Copy Artist to Album Artist of selected tracks
downloaded 20m 56s ago
Remove iTunes tracks disassociated from files
downloaded 27m 43s ago
Renumber order of selected tracks
downloaded 31m 50s ago
Open the iTunes Media folder in the Finder