-
-
Notifications
You must be signed in to change notification settings - Fork 825
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is fd -L -t l
supposed to work?
#939
Comments
fd -L -t l
supposed to workfd -L -t l
supposed to work?
It finds broken symlinks, which I suppose could be useful 😄 |
I don't know if it is "supposed to work", but the reason it doesn't work is because of the way the Specifically, if the option to follow symlinks is enabled, then Changing the behavior isn't too difficult. I almost have it working on a branch. But it seems to hang for some reason. I haven't figured it out yet. |
This changes it so that if you specify `--type symlink` then it will check if each entry is a symlink even if we would otherwise follow it. Fixes: sharkdp#939
What version of
fd
are you using?fd 8.3.1
I understand that the
-L
and-t l
are kinda at odds with each other, but I would expect thatfd
could follow the symlinks and also print any symlinks it runs into. Is this a bug or desired behavior?The text was updated successfully, but these errors were encountered: