I want to find files recursively, and for that I am using
> gci -name -filter *.py -r
Option -name
gives only the file name, to get one line per item found, as required. But the items that I get as output show only the relative path, e.g.
python\scr.py
(the current dir is C:\python
) while a similar command in cmd.exe
> where /r . *.py
gives
C:\data\python\scr.py
as wanted.
Is there any way of getting this with gci
?
I would like to minimize piping/greping with regex/the like.