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

About marcomc

Marco M.C. is a System Administrator with 10 years of professional experience in ICT. He has deep knowledge of Mac OS X, Windows, and GNU/Linux. His hobbies vary from DIY, Traveling, learning foreign languages and especially he love to cook and experiment with food from all around the world.
This entry was posted in Apple & Mac, How-To, IT and tagged , . Bookmark the permalink.