2818 Views 5 Replies Latest reply: Nov 10, 2006 4:47 AM by Michael Conniff
Not sure what you mean by "file versions" but here's a sample of what GetFileInfo shows:
-bash:~francine$ GetFileInfo /Users/francine/Desktop/TCMNov.webarchive
created: 11/06/2006 12:03:08
modified: 11/06/2006 12:03:08
If this is what you want you can download just GetFileInfo and SetFile here:
Unzip and put the commands wherever you want, then use by dragging into the Terminal or adding them to something in your PATH, or add the folder to your PATH.
defaults read /path/to/application/version CFBundleVersion
You can also use CFBundleShortVersionString after the last space in the command if CFBundleVersion doesn't work. This method can only be used on packages; it will not work on applications and other files which do not use the package structure, which includes most of the files used by the Classic environment.