<pre><code class="line-numbers">#!/bin/bash if [ ! -d $1 ];then echo "不存在的目录" exit fi for i in $(find $1 -type l);do if [ ! -e $i ];then echo "rm $i" rm -rf $i fi done </code></pre>
发表评论
共 0 条评论
暂无评论