The Wayback Machine - http://web.archive.org/web/20220601103935/https://github.com/sharkdp/fd/issues/950
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

fd search order and /mnt/* #950

Open

OneOfLosers opened this issue Jan 30, 2022 · 2 comments
Open

fd search order and /mnt/* #950

OneOfLosers opened this issue Jan 30, 2022 · 2 comments
Labels

Comments

@OneOfLosers
Copy link

@OneOfLosers OneOfLosers commented Jan 30, 2022

What version of fd are you using? 8.3.2
[paste the output of fd --version here] fd 8.3.2

Hello,
i just wanted to mention this (as noob):
searching for cron.allow from / I have to break with ctrl+c because fd seems to search in /mnt/ bevre in /etc.

Just wanted to mention, either make a directoray-sorted search or allow fd by default not to search in in /mnt/ first.

Or at best both options:
search in sorted order and ignore /mnt/ for local searches.

So i still could not use it because the /mnt/* is my timeshift back I do not want to stress for a find-tools (after the noob "rm -rf" in homedir ;)

Regards

@sharkdp
Copy link
Owner

@sharkdp sharkdp commented Jan 30, 2022

Search order is not defined in fd. It also searches multiple directories in parallel. If you want to exclude certain directories from your search, you can use the --exclude/-E option.

@tavianator
Copy link
Collaborator

@tavianator tavianator commented Jan 30, 2022

--one-file-system might also be handy

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