-
Notifications
You must be signed in to change notification settings - Fork 822
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
Searching with pattern and recursive (LS and FIND) #1623
Comments
This looks like a duplicate of #910. |
This is what i was thinking but i've changed the dont_use_nlink value for define or 0 or 2 and still have the same issue. Well the change is for Perl setting, i dont think that will have an impact for the command line or I missed something in the 910 threat, or maybe i missed something. :) |
By using the perl command is working if i'm setting dont_use_nlink => 'define' perl -e 'use File::Find;find(sub {print but that not solve the LS or FIND command ls *.txt -R |
@wartillo - Thanks for the additional info. I tried this on Microsoft Windows [Version 10.0.15014] and this is the output I'm seeing which I believe is correct.
|
Yeah the Perl setting only affects Perl. On the latest Insider build, this issue has already been fixed, or you can wait for the Creators Update. |
OK i think it's maybe about ubuntu and not specific to the bash for windows. I mean, in powershell the result is complete :
Mode LastWriteTime Length Name -a---- 2007-11-07 07:00 17734 eula.1028.txt
Mode LastWriteTime Length Name -a---- 2007-11-07 07:00 10134 eula.1033.txt
Mode LastWriteTime Length Name -a---- 2007-11-07 07:00 118 eula.1041.txt But in the BASH : /mnt/c/test# ls -R *.txt I didn't used find command since a long time, i just remeber that for find we need to specify with -name My confusion is comming from the powershell and not te bash. :) I've checked on a ubuntu computer and the result is the same as bash. |
Cool thanks for confirming, I'm going to go ahead and close this out as a duplicate. |
@wartillo -- In Linux (or WSL), try |
Hi,
I've been looking into issue but i dont see anything about.
Recursive search file dont find anything if i'm looking for a pattern.
Tree, to show files
.
├── eula.1041.txt
├── eula.1042.txt
├── eula.2052.txt
├── eula.3082.txt
├── folder1
│ ├── eula.1028.txt
│ └── eula.1031.txt
└── folder2
├── eula.1033.txt
├── eula.1036.txt
└── eula.1040.txt
ls . -R
.:
eula.1041.txt eula.1042.txt eula.2052.txt eula.3082.txt folder1 folder2
./folder1:
eula.1028.txt eula.1031.txt
./folder2:
eula.1033.txt eula.1036.txt eula.1040.txt
With the pattern i just get file from the current folder
ls *.txt -R
eula.1041.txt eula.1042.txt eula.2052.txt eula.3082.txt
The same thing is happening with find
find .
.
./eula.1041.txt
./eula.1042.txt
./eula.2052.txt
./eula.3082.txt
./folder1
./folder1/eula.1028.txt
./folder1/eula.1031.txt
./folder2
./folder2/eula.1033.txt
./folder2/eula.1036.txt
./folder2/eula.1040.txt
find *.txt
eula.1041.txt
eula.1042.txt
eula.2052.txt
eula.3082.txt
Version : Microsoft Windows [version 10.0.14393]
The text was updated successfully, but these errors were encountered: