---
title: "mac 查看隐藏目录"
author: "wandejun1012"
date: "2016-05-12T14:07:02Z"
tags: []
categories: ["操作系统"]
slug: "mac"
draft: false
lastmod: "2016-05-11T17:07:57Z"
id: 2297515
url: "https://wandejun1012.iteye.com/blog/2297515"
---

注意只能是Finder,在终端里依然是看不到的。

 

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

在终端里输入上面的命令即可。

这样打开finder后就可以看到隐藏文件了。

 

参考链接：http://sspai.com/26273