Linux软连接更新需手动操作,核心策略如下:
ln -sf 新目标路径 软链接路径
ln -sf /new/dir link_name
rm
ln -s
find
find /path -type l -exec ln -sf 新目标 {} \;
inotifywait
fswatch
sudo