iahu
V2EX  ›  macOS

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

  •  
  •   iahu · May 27, 2015 · 2533 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   ·   1275 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 19ms · UTC 23:49 · PVG 07:49 · LAX 16:49 · JFK 19:49
    ♥ Do have faith in what you're doing.