Advertisement
Guest User

apln

a guest
Aug 31st, 2020
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.16 KB | None | 0 0
  1. #!/bin/bash
  2. # Absolute path linker (apln). Usage: apln [RELATIVE PATH] [LINK NAME]
  3. abs=$(cd `dirname $1` && printf `pwd`'/'`basename $1`)
  4. ln -s $abs $2
  5. unset abs
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement