13 lines
119 B
Bash
13 lines
119 B
Bash
|
#!/usr/bin/env bash
|
||
|
function cpln {
|
||
|
|
||
|
for f in `ls $1`
|
||
|
|
||
|
do
|
||
|
|
||
|
ln $1/$f $2 && ln -sf $2/$f $1
|
||
|
|
||
|
done
|
||
|
|
||
|
}
|