---
title: "Mac osx 下隐藏和显示文件（夹）"
author: "ringw"
date: "2014-03-11T14:11:48Z"
tags: []
categories: ["操作系统"]
slug: "mac-osx"
draft: false
lastmod: "2014-03-12T09:41:40Z"
id: 2029400
url: "https://ringw.iteye.com/blog/2029400"
---

Finder->应用程序->实用工具->终端 
如果显示所有隐藏的文件（夹），使用命令：
defaults write com.apple.finder AppleShowAllFiles -bool true

如果要不再显示隐藏的文件（夹），使用命令：
defaults write com.apple.finder AppleShowAllFiles -bool false