Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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.

share|improve this question

2 Answers 2

up vote 0 down vote accepted

Currently there is no way to sort them in mass, you could one-by-one right click on each app, select 'Get Info' and then a window will pop up with app info.

Under the summary tab you will see (middle right hand side of the window) 'Purchased By' and 'Account Name'.

Sorry but that's currently the only way. Unless your on a Mac and can code a shell script.

share|improve this answer
    
Frustrated with there being no way (which was correct at the time of posting), I came up with the shell script below to dump the list. –  Walt Stoneburner Nov 19 '12 at 3:03

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.

share|improve this answer
    
Couldn't get this to work unrecognized option: -p. Any idea how to fix this? –  Florian Mar 4 '13 at 16:38
    
According to the OS X man page on unzip, the -p option extracts files to a pipe (stdout). Use an equivalent option, though note this script was intended for OS X. –  Walt Stoneburner Mar 7 '13 at 14:52
    
Sorry, I should have been more precise: I'm running this on OS X and the unzip -p part seems to work, but it chokes saying unrecognized option: -p plutil: [command_option] [other_options] file... The file '-' means stdin, followed by the output of plutil --help. I haven't been able to figure out either what -p is supposed to do for plutil. Your help is very much appreciated! –  Florian Mar 7 '13 at 15:19
    
The option, which is new to Mountain Lion, dumps out the object in a JSON-like format, fit for human consumption (and thus searchable by a script). I'm surprised Apple's online man page isn't reflecting it, it's used all over the web. (e.g., Google for "plutil -p" and examples come up) I'll see if I can dig up a resource with it. –  Walt Stoneburner Mar 7 '13 at 21:27
    
ah bummer, that explains the error, as I'm running 10.7 here and I cannot upgrade for the time being. There wouldn't be a way without the -p that you know of? –  Florian Mar 11 '13 at 13:02

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.