ネタ元:http://unix.stackexchange.com/questions/34248/how-can-i-find-broken-symlinks
find . -type l -! -exec test -e {} \; -print
ゴミ掃除
find . -type l -! -exec test -e {} \; -print | xargs rm
findむずい
More than 5 years have passed since last update.
ネタ元:http://unix.stackexchange.com/questions/34248/how-can-i-find-broken-symlinks
find . -type l -! -exec test -e {} \; -print
ゴミ掃除
find . -type l -! -exec test -e {} \; -print | xargs rm
findむずい
Register as a new user and use Qiita more conveniently