On Apr 13, 2012, at 6:54 PM, Shane Stanley wrote: > When I look in the Finder, a Finder-created alias of the same file is listed > as 144KB, while the one I saved is 96KB. I'm curious about what's in that > extra 48KB. > > I had a look in Terminal and got this: > > Shanes-iMac:~ shane$ ls -laoO /Users/shane/Desktop/untitled\ folder > total 496 > drwxr-xr-x 5 shane - 170 14 Apr 08:44 . > drwx------@ 310 shane - 10540 14 Apr 08:44 .. > -rw-r--r--@ 1 shane - 6148 14 Apr 08:44 .DS_Store > -rw-r--r--@ 1 shane - 48296 13 Apr 22:16 key path samples copy.scpt alias 5 > -rw-r--r--@ 1 shane - 48360 13 Apr 22:31 key path samples copy.scpt alias 6 > > IOW, there's only 64 bytes difference between them -- meanwhile another 48KB > seems unaccounted for. > > Does anyone have an explanation?
The Finder-created one probably has a resource fork with additional data. That accounts for the size difference that isn't visible using "ls". Off-hand, I don't know what the resource fork data holds. Regards, Ken _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com