Return to Snippet

Revision: 3510
at August 5, 2007 20:14 by zingo


Initial Code
#!/bin/bash
mdfind 'kMDItemKind == "Application"' | perl -ne 'chomp; print "\"$_\"\n" ' | xargs mdls -name kMDItemFSContentChangeDate -name kMDItemVersion -name k@MDItemDisplayName -name kMDItemPath | perl -pe 's/^\/.+/"-" x 20/e'

Initial URL
http://harnly.net/2007/blog/geek/macosx/list-all-application-versions/

Initial Description
List the current version and installation date of every application on a OS X system, using of Spotlight.

Initial Title
List all application versions

Initial Tags
Bash, osx

Initial Language
Bash