Skip to content

bookshelfdave/simlink

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simlink

Do you remember the order of args to make a symlink? I usually don't!

Simlink is just a wrapper around ln -s, but it doesn't care which order you specify arguments! All you need is a file/directory that exists, and one that doesn't (yet!). This is going to change the world!!

Building

You'll need Rust >= 1.6.0.

cargo install simlink

or if you want to build it locally:

cargo build
./target/debug/simlink some_path some_other_path

Demo

# ~/.vimrc exists, the others do not.

simlink ~/.foo ~/.vimrc
simlink ~/.vimrc ~/.bar

Are you serious?

  • no, not really.

  • keep in mind that most Unix utils take "the existing file" first

      ln -s /some/existing/file some_new_file
    

© 2022 Dave Parfitt

About

ln -s, troll me no more!

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages