How do I list iTunes apps by the account that purchased it?

I've got more than one person downloading apps to my iTunes, and so I'd like to list all apps purchased by one account (meaning the same email address). How can I separate apps like this? I can't seem to find any columns that I can add to the Apps tab to sort apps in this way.


You can try in Terminal.

$ for f in ~/Music/iTunes/iTunes\ Media/Mobile\ Applications/*.ipa ; \
  do (echo "$f" ; unzip -p "$f" "iTunesMetadata.plist" | \
  plutil -p - | egrep -i "\"(itemName|artistName|AppleID)\"" ) | \
  perl -e 'while (<>) { if (m!^/!) { chop; $fqn=$_; } if (m/"(.+)" => (".+")/) { $e{lc($1)}=$2; } } print "\"${fqn}\",$e{\"itemname\"},$e{\"artistname\"},$e{\"appleid\"}\n";'; \
done

Here is a blogpost where this action is explained.