Skip to content

umlet/ln2by

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 

Repository files navigation

ln2by

Creating a symlink has never been so much fun!

By Zeus, I won't recall the argument order for creating a symlink with ln.

I don't understand its man page. Other guides use source and target metaphors, which are either misleading or not misleading, and possibly both. And please don't mention the so-called "(3rd form)" of calling it.

Enter ln2by: it creates a symbolic link

  • TO something existing (1st argument),
  • BY a newly created symlink (2nd argument).

In addition, ln2by won't let you overwrite an existing symlink, and it tries to catch the directory-as-2nd-argument calamity.

Example call:

>ln2by  /foo/bar/my_old_directory/  my_new_shortcut

About

Creating a symlink has never been so much fun

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages