返回 首页

linux:将目录里的软连接替换为原始文件


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

登录