mac 上显示/隐藏 隐藏文件


Some people like to know everything that is on their computer. Admittedly, I was one of these people many moons ago, when I was a Windows user. I would always make sure that Windows Explorer would show all hidden files and folders. I’m not sure why, but I liked it this way.

These days, I’m quite the opposite, as I like to see as little files and folders as possible on my Mac. But I understand some people out there have the desire to see all those files and folders, for whatever reason that may be.

In this post I will show you how to show hidden files and folders in Finder on your Mac

How to show hidden files in Finder on OS X

If you use OS X 10.9 Mavericks or OS X 10.10 Yosemite, follow these steps to show hidden files in Finder:

1) Launch Terminal.

2) Copy/paste or type in the following command

defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder

terminal show hidden files

3) You should now see hidden files and folders in Finder.

show hidden files mac

How to hide hidden files in Finder on OS X

Follow these steps if you want to hide the files and folders you previously revealed. Note this works with OS X Mavericks and Yosemite.

1) Launch Terminal.

2) Copy/paste or type in the following command

defaults write com.apple.finder AppleShowAllFiles -boolean false ; killall Finder

hide hidden files mac finder

3) All hidden files that you have revealed should now be hidden again.

How to show hidden files in Finder on OS X 10.8 and prior

If you use OS X 10.8 and prior, use these command line instead:

1) Launch Terminal.

2) Copy/paste or type in the following command

defaults write com.apple.finder AppleShowAllFiles TRUE ; killall Finder

How to hide hidden files in Finder on OS X 10.8 and prior

If you want to hide the files and folders again on a machine running OS X 10.8 and prior, follow these steps:

If you use OS X 10.8 and prior, use these command line instead:

1) Launch Terminal.

2) Copy/paste or type in the following command

defaults write com.apple.finder AppleShowAllFiles FALSE ; killall Finder

As always, feel free to ask any question in the comments section below.

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

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值