2020-11-04 02:03:20 +03:00
|
|
|
#!/bin/sh
|
|
|
|
rpath="$(dirname `readlink -f $0`)"
|
|
|
|
dot="$rpath/file"
|
2023-08-29 13:42:38 +03:00
|
|
|
cmd="$@"
|
2020-11-04 02:03:20 +03:00
|
|
|
for i in $dot/* ; do
|
|
|
|
ln="$HOME/.`basename $i`"
|
2020-11-04 02:24:45 +03:00
|
|
|
rm -rf "$ln"
|
2020-11-04 02:03:20 +03:00
|
|
|
echo $ln $i
|
2023-08-29 13:42:38 +03:00
|
|
|
$cmd "$i" "$ln"
|
2020-11-04 02:03:20 +03:00
|
|
|
done
|
|
|
|
|