As an iPhone owner since version 1.0, and having an iPhone 3G and loving my apps, I keep the iPhone up to date.Â With this, I was looking through the ‘Mobile Application’ folder that houses all of the downloaded applications and noticed that iTunes does not delete the older versions of the application.
I don’t know why this is, and it’s not like I have any apps that are gigantic in size, but they can clutter up your hard drive unnecessarily.
Now, it’s actually gotten a bit easier to identify the newest applications.Â Recently, Apple began adding the version numbers to applications that are downloaded.Â I’m not sure if this has been a requirement of developers or not, since I do not have any applications in the store, because I don’t have any skills with Objective-C.
So, I don’t know if I meant this to be a PSA or not, but I’d recommend getting rid of your older apps.Â Here’s the way that I did it.
1. Obtain a list of all of your downloaded Applications.
A.Â Open Terminal
B.Â Type in cd ~/Music/iTunes/Mobile\ Applications/
C.Â Type in ls .Â This will display all of your downloaded applications in this directory.
D.Â Highlight the entire outputted section.
E.Â Open up TextEdit
F.Â Past the entire copied list into TextEdit.
2. Determine which applications are the newest.
A.Â Open iTunes
B.Â Click on the Applications link in the left sidebar. See the image below.
C.Â Highlight the first application
D.Â Hit command-I to view the info
E.Â Look at the location of the application, as shown below.
3. Go through each App
A.Â Look at the the Location line.Â Find the corresponding Application name in the TextEdit file.
B.Â Delete that line.Â Return to iTunes
C.Â Hit Next to bring up the next application
D.Â Repeat Steps 3A, 3B and 3C until all applications are removed from the TextEdit file.
4. Delete the remaining applications.
A.Â Open a Finder Window
B.Â Click on the Go Menu.
C.Â Select ‘Go To Folder’.
D.Â Type in ‘~/Music/iTunes/Mobile Applications/’.
E.Â Click on the TextEdit File.
F.Â Delete each of the remaining apps in the TextEdit file.Â These are the ones that are no longer used.
That’s it. You’ve removed all of the unused / old applications.
If you have any problems or questions about the script, feel free to get a hold of me by leaving a comment, or click on the ‘bloggers’ link on the top of the screen.