obiwong
V2EX  ›  macOS

在命令行下,用什么命令能用Finder打开指定目录?

  •  
  •   obiwong · Apr 5, 2011 · 9414 views
    This topic created in 5705 days ago, the information mentioned may be changed or developed.
    要打开当前目录,Win下可以 「explorer .」,Gnome 可以「nautils .」

    Mac下试用/System/Library/CoreServices/Finder.app/Contents/MacOS/Finder,未果
    8 replies  •  1970-01-01 08:00:00 +08:00
    leeiio
    leeiio
    Apr 5, 2011
    1
    用open .
    lamengao
    lamengao
    Apr 5, 2011
    2
    open
    jenux
    jenux
    Apr 5, 2011
    3
    nautilus
    TashinV
    TashinV
    Apr 5, 2011
    4
    直接拖进terminal 就行了...
    Kymair
    Kymair
    Apr 5, 2011 via Android
    5
    Linux下类似的命令是gnome-open,可以alias成o方便使用

    不仅可以打开目录,也可以用默认的程序打开文件
    kayue
    kayue
    Apr 5, 2011
    6
    open . +1
    obiwong
    obiwong
    OP
    Apr 5, 2011
    7
    @leeiio @lamengao 谢谢,open正是我想要的功能。

    @jenux @Kymair nautils是我的笔误,平时都是nau加TAB,nautilus从来没记对过,后天再试试gnome-open。

    @kayue 敲++比+1方便
    khotyn
    khotyn
    Apr 9, 2011
    8
    Mac下可以用Open,会用默认程序打开文件。Ubuntu下对应的是xdg-open吧。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   4357 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 30ms · UTC 08:35 · PVG 16:35 · LAX 00:35 · JFK 03:35
    ♥ Do have faith in what you're doing.