fd icon indicating copy to clipboard operation
fd copied to clipboard

fd search order and /mnt/*

Open OneOfLosers opened this issue 3 years ago • 2 comments

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

OneOfLosers avatar Jan 30 '22 12:01 OneOfLosers

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.

sharkdp avatar Jan 30 '22 13:01 sharkdp

--one-file-system might also be handy

tavianator avatar Jan 30 '22 14:01 tavianator