linux软链接替换正常文件
提示: Linux发行版更新较快,命令可能因版本不同而有差异。
一行命令
for f in $(find -type l);do cp --remove-destination $(readlink $f) $f;done;