Replies: 1 comment 4 replies
-
Please provide an MRE. I cannot reproduce:
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to unveil a few quirks in VirtualBox.
It seems that there might be something interesting in a file called "VBoxClient-all".
So I tried to find that file.
I am very happy that 'rg' can do this kind of search, so I don't have to remember the syntax and all the flags and options in 'locate'.
Let start at the end :)
This works :
# locate VBoxClient-all
This does not work :
# rg --no-messages --files / --iglob "VBoxClient-all"
[no output]
NOTE
This gives 8 hits :
# rg --no-messages --files / --iglob "VBoxClient" | wc -l
This gives 10 hits :
# locate -i VBoxClient | wc -l
The difference is 2 files in "/usr/bin/".
I tried, but nothing worked :
# rg --no-messages --files --unrestricted / --iglob "VBoxClient-all"
# rg --no-messages --files --u / --iglob "VBoxClient-all"
# rg --no-messages --files --no-ignore / --iglob "VBoxClient-all"
I must be missing something ?
There has to be a way to make 'rg' NOT ignore any directory ?
Beta Was this translation helpful? Give feedback.
All reactions