V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Insomnia
V2EX  ›  问与答

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

  •  
  •   Insomnia · 2016 年 4 月 21 日 · 2513 次点击
    这是一个创建于 3563 天前的主题,其中的信息可能已经有所发展或是发生改变。
    不显示的时候,偶尔用回到,显示的时候,又感觉好乱。。。
    17 条回复    2016-04-21 23:25:19 +08:00
    firemiles
        1
    firemiles  
       2016 年 4 月 21 日 via Android
    不是用 ls -a 吗
    HustLiu
        2
    HustLiu  
       2016 年 4 月 21 日
    感觉楼主还是 windows 使用习惯啊……
    stormslowly
        3
    stormslowly  
       2016 年 4 月 21 日
    path finder 可以解你的毒
    xuwenmang
        4
    xuwenmang  
       2016 年 4 月 21 日
    @HustLiu Mac Os 显式隐藏文件用啥习惯
    techyan
        5
    techyan  
       2016 年 4 月 21 日 via iPhone
    。。然后 spotlight 的索引文件就都出来了?
    DT27
        6
    DT27  
       2016 年 4 月 21 日
    来回切换太麻烦了,就直接一直显示了。。
    debiann
        7
    debiann  
       2016 年 4 月 21 日 via iPhone
    ls -a +1000 万
    jsonline
        8
    jsonline  
       2016 年 4 月 21 日 via Android
    楼主不用命令行?
    逼格一下就没了!
    Drifter
        9
    Drifter  
       2016 年 4 月 21 日
    ls -a

    另外,想打开隐藏文件的话,可以使用 open -a somePlayer.app some_file.mkv
    kkhaike
        10
    kkhaike  
       2016 年 4 月 21 日
    @Drifter 有可能是 some_file.avi
    yoa1q7y
        11
    yoa1q7y  
       2016 年 4 月 21 日
    open ~/Movies/.aa/0819/BBI-194.avi
    SharkIng
        12
    SharkIng  
       2016 年 4 月 21 日
    ls -a 就行了,我都不知道显示隐藏怎么设置.
    qfdk
        13
    qfdk  
    PRO
       2016 年 4 月 21 日 via iPhone
    不会 la 这个更快 看着带。的就强迫症发作了
    jy01264313
        14
    jy01264313  
       2016 年 4 月 21 日
    基本就不用鼠标打开文件
    kassadin
        15
    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
        16
    just4fan  
       2016 年 4 月 21 日
    @stormslowly @Insomnia 同推荐 path finder
    SoloCompany
        17
    SoloCompany  
       2016 年 4 月 21 日
    Option + 空格
    ~
    .
    关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   2867 人在线   最高记录 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 305ms · UTC 14:43 · PVG 22:43 · LAX 06:43 · JFK 09:43
    ♥ Do have faith in what you're doing.