I used to think that folders needed to have an extension so that they are recognized as packages by the Finder. That extension would be declared in the owning application\'s Inf
There are two commands that may be of interest:
GetFileInfo iPhoto\ Library
attributes: avBstclinmedz
The B says that the "bundle" bit is set. The SetFile
command lets you set them. These let you access the extended attributes in HFS+ (per the man page).
Here are the possible attributes:
A Alias file
B Bundle
C Custom icon*
D Desktop*
E Hidden extension*
I Inited*
M Shared (can run multiple times)
N No INIT resources
L Locked
S System (name locked)
T Stationery
V Invisible*
Z Busy*