Linux, FreeBSD, Juniper, Cisco / Network security articles and troubleshooting guides

FAQ
It is currently Sun Dec 10, 2023 5:59 am


FreeBSD tutorials and how-tos

Author Message
mandrei99
Post  Post subject: Mac OS X - File metadata and file extended attributes - mdls and xattr  |  Posted: Wed Feb 11, 2015 7:41 pm

Joined: Tue Aug 04, 2009 9:16 am
Posts: 250

Offline
 

Mac OS X - File metadata and file extended attributes - mdls and xattr

Code:
$ mdls Icon^M
kMDItemContentCreationDate     = 2015-02-11 23:36:52 +0000
kMDItemContentModificationDate = 2015-02-11 23:36:52 +0000
kMDItemContentType             = "dyn.ah62d4rv4gk80w25tr2"
kMDItemContentTypeTree         = (
    "public.data",
    "public.item"
)
kMDItemDateAdded               = 2015-02-11 23:36:52 +0000
kMDItemDisplayName             = "Icon "
kMDItemFSContentChangeDate     = 2015-02-11 23:36:52 +0000
kMDItemFSCreationDate          = 2015-02-11 23:36:52 +0000
kMDItemFSCreatorCode           = "MACS"
kMDItemFSFinderFlags           = 16400
kMDItemFSHasCustomIcon         = (null)
kMDItemFSInvisible             = 1
kMDItemFSIsExtensionHidden     = 1
kMDItemFSIsStationery          = (null)
kMDItemFSLabel                 = 0
kMDItemFSName                  = "Icon "
kMDItemFSNodeCount             = (null)
kMDItemFSOwnerGroupID          = 20
kMDItemFSOwnerUserID           = 501
kMDItemFSSize                  = 1316768
kMDItemFSTypeCode              = "icon"
kMDItemKind                    = "Document"
kMDItemLogicalSize             = 1316768
kMDItemPhysicalSize            = 1318912


Code:
$ xattr -l Icon^M
com.apple.FinderInfo:
00000000  69 63 6F 6E 4D 41 43 53 40 10 00 00 00 00 00 00  |iconMACS@.......|
00000010  00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  |................|
00000020
com.apple.ResourceFork:





Top
Display posts from previous:  Sort by  
E-mail friendPrint view
Who is online
Users browsing this forum: No registered users and 0 guests
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum
Jump to:  
News News Site map Site map SitemapIndex SitemapIndex RSS Feed RSS Feed Channel list Channel list


Delete all board cookies | The team | All times are UTC - 5 hours [ DST ]



phpBB SEO