Skip to content

rumpl/slink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

39f55cc Β· Sep 22, 2022

History

5 Commits
Sep 22, 2022
Sep 22, 2022
Sep 22, 2022
Sep 22, 2022
Sep 22, 2022

Repository files navigation

slink

Create symlinks without hassle.

Do you know how to use ln -s? Do you really know which comes first the source or the target file? Do you know what's source and what's target?

Me neither.

This is exactly why slink exists!

In action:

$ ls -l
total 0
-rw-r--r--  1 rumpl  staff  0 22 Sep 12:17 a.txt
$ slink a.txt b.txt
$ ls -l
total 0
-rw-r--r--  1 rumpl  staff  0 22 Sep 12:17 a.txt
lrwxr-xr-x  1 rumpl  staff  5 22 Sep 12:17 b.txt -> a.txt
$ rm b.txt
$ slink b.txt a.txt
$ ls -l
$ ls -l
total 0
-rw-r--r--  1 rumpl  staff  0 22 Sep 12:17 a.txt
lrwxr-xr-x  1 rumpl  staff  5 22 Sep 12:17 b.txt -> a.txt

That's right, no need to know which comes first, slink will always do what you want, no questions asked.

About

ln -s for humans

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages