iahu
V2EX  ›  macOS

shell 脚本可以通过把文件拖放到其上来获取文件名作为参数吗?

  •  
  •   iahu · May 27, 2015 · 2534 views
    This topic created in 4088 days ago, the information mentioned may be changed or developed.
    类似把文件拖放到编辑器上来打开该文件。试了下用$1来获取,没成功。求高手指点。
    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3565 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 23ms · UTC 00:39 · PVG 08:39 · LAX 17:39 · JFK 20:39
    ♥ Do have faith in what you're doing.