Advertisement
Guest User

apln

a guest
Aug 30th, 2020
85
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.15 KB | None
  1. #!/bin/bash
  2. # Absolute path linker (apln). Usage: apln [RELATIVE PATH] [FILE NAME] [LINK NAME]
  3. abs=$(cd $1 && printf `pwd`'/'$2)
  4. ln -s $abs $3
  5. unset abs
  6.  
Advertisement
RAW Paste Data Copied
Advertisement