mdls & .app?
mdls & .app?
- Subject: mdls & .app?
- From: Christopher Stone <email@hidden>
- Date: Sat, 19 Feb 2011 21:36:46 -0600
Hey Folks,
It seems that 'mdls' will not work with an application (or folder)
--
# Does not work:
set theApp to "/Applications/TextEdit.app"
set cmd to "mdls " & theApp
do shell script cmd
--
# Works:
set theApp to "/Applications/TextEdit.app/Contents/MacOS/TextEdit"
set cmd to "mdls " & theApp
do shell script cmd
--
Is there a workaround for this?
The best thing I've found so far is 'stat', but the information difference is huge.
TIA
--
Best Regards,
Chris _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden