Closed antononcube closed 3 months ago
The first positional argument is always taken as the pattern to search for. And if no path is specified, the current directory will be assumed.
So rak --find ..
will search for files with ..
in their paths.
What you probably wanted is rak --find --paths=..
Closing as this is a bit of a WAT, but that's always the case with a lot of other DWIMs.
I expect this command to find files in the parent directory (at this point, it lists files in the current directory that have names that include ".."):
I expect this command to give directories in the parent directory (at this point, gives nothing):
For comparison, this works as expected: