Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #! /bin/bash
- v=`echo $@|gawk '{print $NF}'`
- if[-d $v];then
- for v2 in $@;do
- if test $2 != $v;then
- ln $v2 $v/$v2
- rm $v2
- fi
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement