I know applications are just folder bundles - I assume specifically formatted, and some metadata. I did a copy of my iPhoto Library from another disk - at first it was just another folder, then once I ran iPhoto, it became special again.
What makes a folder a bundle? and how do i restore that metadata on a disk recovery?