for f in $(find . -maxdepth 5 -type l)
do
    cp --remove-destination $(readlink -e $f) $f
done