Skip to content
A modern version of ‘ln’. It is inspired by exa.
Go
Branch: master
Clone or download
Latest commit 58d6f5b Feb 20, 2020
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github/workflows add checking build flow Feb 9, 2020
cmd fix goreleaser Feb 20, 2020
img improve color & gif Feb 10, 2020
.goreleaser.yml fix goreleaser Feb 20, 2020
LICENSE.md almost ok Feb 9, 2020
README.md fix goreleaser Feb 20, 2020
go.mod run go mod tidy Feb 9, 2020
go.sum run go mod tidy Feb 9, 2020
main.go almost ok Feb 9, 2020

README.md

mln

mln a replacement for ln written in Golang. mln create a symbolic link, not a hard link. It is inspired by exa.

demo

Motivation

Every time I use the ln command, it puzzles me not knowing whether any of the arguments is source_file or target_file. Also, maybe most people use the ln command to create only symbolic links, but creating a symbolic link requires the -s option. I wanted to make a symbolic link more easier, so I created mln.

Installation

Binary

Download the binary from GitHub Releases and drop it in your $PATH.

Manually Build

You need Go 1.13 compiler.

$ go get github.com/tkmru/mln

Usage

In mln, a symbolic link is created successfully regardless of which of the arguments specifies the link destination and link name.

$ mln -h
A modern version of ln. `mln` create a symbolic link, not a hardlink.

Usage:
  mln [target <file/dir>/symlink file] [symlink file/target <file/dir>] [flags]

Flags:
  -h, --help   help for mln

License

MIT License

You can’t perform that action at this time.