Skip to content
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

How to implement a search directory that includes the directory itself. #1423

Closed
xpbluesmile opened this issue Nov 12, 2023 · 2 comments
Closed
Labels

Comments

@xpbluesmile
Copy link

How to implement a search directory that includes the directory itself.
For example, using find can operate

find ./ -type d
1

will list all directories under the current directory (including the directory itself), but fd cannot.
The operation steps are as follows
Fd - td '.' ./
2

This operation only lists all subdirectories under the current directory and does not include itself. How to solve this problem

@tavianator
Copy link
Collaborator

See #364

@xpbluesmile
Copy link
Author

thanks!

@sharkdp sharkdp closed this as completed Nov 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants