There are two t's in the command name. Another place to potentially look: man mdls But I believe the mdfind and mdls commands are newer then tiger. In any case look at the end of this listing:
operations-center:downloads joncohn$ mdls hints.macworld.com.htmlkMDItemContentCreationDate = 2011-07-15 07:14:52 -0400 kMDItemContentModificationDate = 2011-07-15 07:14:52 -0400 kMDItemContentType = "public.html" kMDItemContentTypeTree = ( "public.html", "public.text", "public.data", "public.item", "public.content" ) kMDItemDisplayName = "hints.macworld.com.html" kMDItemFSContentChangeDate = 2011-07-15 07:14:52 -0400 kMDItemFSCreationDate = 2011-07-15 07:14:52 -0400 kMDItemFSCreatorCode = "" kMDItemFSFinderFlags = 0 kMDItemFSHasCustomIcon = 0 kMDItemFSInvisible = 0 kMDItemFSIsExtensionHidden = 0 kMDItemFSIsStationery = 0 kMDItemFSLabel = 0 kMDItemFSName = "hints.macworld.com.html" wkMDItemFSNodeCount = 0 kMDItemFSOwnerGroupID = 502 kMDItemFSOwnerUserID = 502 kMDItemFSSize = 81213 kMDItemFSTypeCode = "" kMDItemKind = "HTML document" kMDItemLastUsedDate = 2011-07-15 07:14:52 -0400 kMDItemTitle = "Mac OS X Hints - A community-built collection of OS X hints" kMDItemUsedDates = ( "2011-07-15 00:00:00 -0400" ) kMDItemWhereFroms = ( "http://hints.macworld.com/" ) operations-center:downloads joncohn$ On Jul 15, 2011, at 8:15 AM, Travis Siegel wrote: > Hmm, interesting. > In tiger, there is no xatr command, so apparently it's a recent eddition. > I'll check on the laptop and see what it says. Regardless, there still needs > to be a way to obtain this information, regardless of os version, since it's > been there from the beginning. :) > Will let the list know what (if anything) I come up with on this. > On Jul 15, 2011, at 7:23 AM, Jonathan C. Cohn wrote: > >> OK what I know: >> >> This is kept in the extended attributes of the file. You know the dot >> underline files that show up on FAT file systems... >> >> The command xatr -d com.apple.quaritine Filename >> >> will remove the warning you get about a file coming from the internet. >> >> There is not a man page for xattr that I could find, but the -h option does >> let you know the arguments available. >> >> Will you share your adventures? >> >> Thanks, >> >> Jonathan >> On Jul 15, 2011, at 12:06 AM, Travis Siegel wrote: >> >>> Actually, the meta information for the files contains the information about >>> where the file came from. I haven't a clue how to get at it via >>> applescript, I don't recall anything about that when I read the applescript >>> programming guide, but I'm sure there's a unix script or something >>> somewhere that can get at the info. >>> I'll do some experimenting, and see if I can turn up anything. >>> I know it's there, because finder likes to remind me that a particular file >>> came from a certain location, and that I should be aware of malicious >>> files, and do I really want to run this program. >>> Now, how to get that info into something unix or apple scripts can use is >>> of course a different story. :) >>> >>> <--- Mac Access At Mac Access Dot Net ---> >>> >>> To reply to this post, please address your message to >>> [email protected] >>> >>> You can find a monthly formatted archive of all messages posted to the >>> Mac-Access forum at the following URL: >>> <http://mail.tft-bbs.co.uk/pipermail/mac-access/index.html> >>> >>> The Mac-Access mailing list is guaranteed malware, spyware, Trojan, virus >>> and worm-free! >>> >>> Please remember to update your membership options periodically by visiting >>> the list website at: >>> <https://mail.tft-bbs.co.uk/mailman/listinfo/mac-access/options/> >> >> <--- Mac Access At Mac Access Dot Net ---> >> >> To reply to this post, please address your message to >> [email protected] >> >> You can find a monthly formatted archive of all messages posted to the >> Mac-Access forum at the following URL: >> <http://mail.tft-bbs.co.uk/pipermail/mac-access/index.html> >> >> The Mac-Access mailing list is guaranteed malware, spyware, Trojan, virus >> and worm-free! >> >> Please remember to update your membership options periodically by visiting >> the list website at: >> <https://mail.tft-bbs.co.uk/mailman/listinfo/mac-access/options/> > > <--- Mac Access At Mac Access Dot Net ---> > > To reply to this post, please address your message to > [email protected] > > You can find a monthly formatted archive of all messages posted to the > Mac-Access forum at the following URL: > <http://mail.tft-bbs.co.uk/pipermail/mac-access/index.html> > > The Mac-Access mailing list is guaranteed malware, spyware, Trojan, virus and > worm-free! > > Please remember to update your membership options periodically by visiting > the list website at: > <https://mail.tft-bbs.co.uk/mailman/listinfo/mac-access/options/> Jonathan C. Cohn [email protected] <--- Mac Access At Mac Access Dot Net ---> To reply to this post, please address your message to [email protected] You can find a monthly formatted archive of all messages posted to the Mac-Access forum at the following URL: <http://mail.tft-bbs.co.uk/pipermail/mac-access/index.html> The Mac-Access mailing list is guaranteed malware, spyware, Trojan, virus and worm-free! Please remember to update your membership options periodically by visiting the list website at: <https://mail.tft-bbs.co.uk/mailman/listinfo/mac-access/options/>
