- 找到失效的符号链接并删除
find . -xtype l -exec rm {} \;
find -xtype l:
We’ll use the l flag with xtype, to tell it to search for links, return broken links:
参考文章
find . -xtype l -exec rm {} \;
find -xtype l:
We’ll use the l flag with xtype, to tell it to search for links, return broken links:
参考文章