又一个lns

用 Swift 重写的一个经典工具,并扩展了功能。

OVERVIEW: Create a symbolic link between two paths, regardless of order

USAGE: lns <first-path> <second-path>

ARGUMENTS:
  <first-path>            A file path. 
  <second-path>           Another file path. 

OPTIONS:
  -h, --help              Show help information.

例如

# The last path component is used as the symbolic link name
lns . long-path-to-folder-used-regularly

# Same here but it's a file rather than a folder
lns path-to-file ~/Desktop

安装

构建说明