找出目錄下所有壞掉的 symblic link
find . -type l | perl -lne 'print if ! -e'
配合xargs 做刪除動作
find . -type l | perl -lne 'print if ! -e' | xargs rm -rf
http://hsian-studio.blogspot.com/2011/04/symblic-link.html
Wednesday, August 10, 2011
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment