How-To set the Bundle attribute to a file in Mac OS X

If you want to make a folder to appear like a Bundle File (a single transportable file) preventing the user to access a file (and possibly mess with its content) what you have to do is to set the Bundle attribute with this simple CLI command:

SetFile -a B <bundle file name>

You can use this technique if you want to restore the bundle attribute after a bundle-file (a directory container with bundle attribute) is transported through a bundle-incompatible file system like Linux and Windows file systems generally are.

Comments

comments

Powered by Facebook Comments

Tags: ,