首页 > 其他分享 >mac显示隐藏文件

mac显示隐藏文件

时间:2023-01-12 21:48:11浏览次数:36  
标签:文件 显示 apple mac boolean 隐藏 Finder

1、在 Finder 打开某个目录时,直接按下:

command + shift + .

就会显示所有隐藏文件,再次按下 command + shift + .  则不再显示隐藏文件。

 

 

2、通过终端命令显示隐藏文件

方法一:

在使用 ls 命令时,加 -a 参数

ls -a

 

方法二:通过控制台命令设置,永远显示隐藏文件

显示隐藏文件:

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

不显示隐藏文件:

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

标签:文件,显示,apple,mac,boolean,隐藏,Finder
From: https://www.cnblogs.com/zxhoo/p/17047983.html

相关文章