MAC OSX 修改文件隐藏

MAC OSX 修改文件隐藏  

2013-01-24 16:05:20|  分类: MAC|字号 订阅

修改Library文件夹的属性

Show User ~/Library in OS X Lion & Mountain Lion

Launch Terminal from Spotlight or Launchpad -> Utilities, and enter the following command to show or hide the directory:
chflags nohidden ~/Library/

The users Library folder will immediately become visible again. Reverting this back to the standard Lion setting is simple too:

Hide User ~/Library in OS X Lion (default setting)

This returns to the default setting of hiding the user Library directory:
chflags hidden ~/Library

Changes take effect immediately again, and Library becomes invisible to the user.


常用修改方式:

How to Hide Folders in Mac OS X

Hiding existing folders is fairly easy:

  • Launch the Terminal, found in /Applications/Utilities/ or from Launchpad
  • Type the following command:

    chflags hidden /path/to/folder/

  • When finished, close out of Terminal

For example, to hide a folder in my home directory named “Secrets” the command would be:
chflags hidden ~/Secrets/

Unhiding the Folder in Mac OS X

If you no longer want the folder to be hidden anymore, here’s what to do:

  • As before, launch the Terminal application
  • Enter the following command:

    chflags nohidden /path/to/folder/

  • Close the Terminal

As an example, to unhide a folder on the users desktop named “Secret Folder” the command would be:
chflags nohidden ~/Desktop/Secret Folder/


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值