find . -xdev -type l -print0 | xargs -0 -I '{}' sh -c "[ -e '{}' ] || echo '{}' is broken"
Last active
March 29, 2020 16:12
-
-
Save rmi1974/b7c3da24b87e4b00b356c755e4ae084d to your computer and use it in GitHub Desktop.
How to find broken symlinks in Linux #commandlinefu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment