Solution:-
You will need Setfile to toggle the visibility of the file.
- Launch Terminal.
- Open the /Developer/Tools folder in the Finder. Locate SetFile and drag its icon to the terminal window. The Directory path for SetFile (/Developer/Tools/SetFile) should appear in the Unix command line prompt.
- Type: -a V . Leave a space after the upper case V.
- Locate the file that you want to make invisible. Drag its icon to the Terminal window. Its path should now be added to the same command line prompt.
My case to hide both the "boot" and "mach_kernel" file:
- sudo /Applications/Utilities/SetFile -a V /boot
- sudo /Applications/Utilities/SetFile -a V /mach_kernel
Good tutorial can be found here.
0 comments:
Post a Comment