Quantcast
Channel: How can I find broken symlinks - Unix & Linux Stack Exchange
Viewing all articles
Browse latest Browse all 16

Answer by milahu for How can I find broken symlinks

$
0
0

to find broken symlinks in a git repo:

find . -xtype l | xargs git ls-files --

git ls-files is needed to show only files tracked by git


Viewing all articles
Browse latest Browse all 16

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>