Scripticles
How to delete all broken symbolic links with a single line
If you are in the directory:
sudo find -L . -type l -delete
Careful! This will follow good symbolic links and delete bad sym links recursively!
If you want to list them instead, but not delete:
sudo find -L
path-to-directory
-type l
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment