做为一个 开发者 ,你会在 Mac OS 下,显示隐藏文件吗?

2016 年 4 月 21 日
 Insomnia
不显示的时候,偶尔用回到,显示的时候,又感觉好乱。。。
2935 次点击
所在节点    问与答
17 条回复
firemiles
2016 年 4 月 21 日
不是用 ls -a 吗
HustLiu
2016 年 4 月 21 日
感觉楼主还是 windows 使用习惯啊……
stormslowly
2016 年 4 月 21 日
path finder 可以解你的毒
xuwenmang
2016 年 4 月 21 日
@HustLiu Mac Os 显式隐藏文件用啥习惯
techyan
2016 年 4 月 21 日
。。然后 spotlight 的索引文件就都出来了?
naver1
2016 年 4 月 21 日
来回切换太麻烦了,就直接一直显示了。。
debiann
2016 年 4 月 21 日
ls -a +1000 万
jsonline
2016 年 4 月 21 日
楼主不用命令行?
逼格一下就没了!
Drifter
2016 年 4 月 21 日
ls -a

另外,想打开隐藏文件的话,可以使用 open -a somePlayer.app some_file.mkv
kkhaike
2016 年 4 月 21 日
@Drifter 有可能是 some_file.avi
yoa1q7y
2016 年 4 月 21 日
open ~/Movies/.aa/0819/BBI-194.avi
SharkIng
2016 年 4 月 21 日
ls -a 就行了,我都不知道显示隐藏怎么设置.
qfdk
2016 年 4 月 21 日
不会 la 这个更快 看着带。的就强迫症发作了
jy01264313
2016 年 4 月 21 日
基本就不用鼠标打开文件
kassadin
2016 年 4 月 21 日
display dialog "是否显示.隐藏文件" buttons {"显示", "隐藏"} with icon 2 with title "Switch to presentation mode" default button 1
set switch to button returned of result
if switch is "隐藏" then
do shell script "defaults write com.apple.finder AppleShowAllFiles -bool false;killall Finder"
else
do shell script "defaults write com.apple.finder AppleShowAllFiles -bool true;killall Finder"
end if

脚本编辑器保存成 app

显示 /隐藏桌面
display dialog "桌面图标设置为可见或隐藏?" buttons {"可见", "隐藏"} with icon 2 with title "Switch to presentation mode" default button 1
set switch to button returned of result
if switch is "隐藏" then
do shell script "defaults write com.apple.finder CreateDesktop -bool FALSE;killall Finder"
else
do shell script "defaults delete com.apple.finder CreateDesktop;killall Finder"
end if
just4fan
2016 年 4 月 21 日
@stormslowly @Insomnia 同推荐 path finder
SoloCompany
2016 年 4 月 21 日
Option + 空格
~
.

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://v2ex.ih06.com/t/273301

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX