Insomnia
V2EX  ›  问与答

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

  •  
  •   Insomnia · Apr 21, 2016 · 3026 views
    This topic created in 3855 days ago, the information mentioned may be changed or developed.
    不显示的时候,偶尔用回到,显示的时候,又感觉好乱。。。
    17 replies  •  2016-04-21 23:25:19 +08:00
    firemiles
    firemiles
    Apr 21, 2016 via Android
    1
    不是用 ls -a 吗
    HustLiu
    HustLiu
    Apr 21, 2016
    2
    感觉楼主还是 windows 使用习惯啊……
    stormslowly
    stormslowly
    Apr 21, 2016
    3
    path finder 可以解你的毒
    xuwenmang
    xuwenmang
    Apr 21, 2016
    4
    @HustLiu Mac Os 显式隐藏文件用啥习惯
    techyan
    techyan
    Apr 21, 2016 via iPhone
    5
    。。然后 spotlight 的索引文件就都出来了?
    naver1
    naver1
    Apr 21, 2016
    6
    来回切换太麻烦了,就直接一直显示了。。
    debiann
    debiann
    Apr 21, 2016 via iPhone
    7
    ls -a +1000 万
    jsonline
    jsonline
    Apr 21, 2016 via Android
    8
    楼主不用命令行?
    逼格一下就没了!
    Drifter
    Drifter
    Apr 21, 2016
    9
    ls -a

    另外,想打开隐藏文件的话,可以使用 open -a somePlayer.app some_file.mkv
    kkhaike
    kkhaike
    Apr 21, 2016
    10
    @Drifter 有可能是 some_file.avi
    yoa1q7y
    yoa1q7y
    Apr 21, 2016
    11
    open ~/Movies/.aa/0819/BBI-194.avi
    SharkIng
    SharkIng
    Apr 21, 2016
    12
    ls -a 就行了,我都不知道显示隐藏怎么设置.
    qfdk
    qfdk
    PRO
    Apr 21, 2016 via iPhone
    13
    不会 la 这个更快 看着带。的就强迫症发作了
    jy01264313
    jy01264313
    Apr 21, 2016
    14
    基本就不用鼠标打开文件
    kassadin
    kassadin
    Apr 21, 2016
    15
    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
    just4fan
    Apr 21, 2016
    16
    @stormslowly @Insomnia 同推荐 path finder
    SoloCompany
    SoloCompany
    Apr 21, 2016
    17
    Option + 空格
    ~
    .
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2407 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 52ms · UTC 12:18 · PVG 20:18 · LAX 04:18 · JFK 07:18
    ♥ Do have faith in what you're doing.