fd
fd copied to clipboard
The file name containing "-- " could not be found
What version of fd are you using?
fd 9.0.0
I'm currently using it on Windows. If I do have a file called-- 21.txt (for example), how can I retrieve it?
If I type-- 21 directly (without a suffix), the program will refresh a large number of the following addresses, but cannot find the-- 21.txt address:
C:\Windows\WinSxS\Manifests\amd64_microsoft-windows-pnpibs_31bf3856ad364e35_10.0.22621.2506_none_21d4e1fae790af39.manifest
C:\Windows\WinSxS\Manifests\amd64_microsoft-windows-rasctrs.resources_31bf3856ad364e35_10.0.22621.1_en-us_21c447edd1ce25b6.manifest
C:\Windows\WinSxS\Manifests\amd64_microsoft-windows-s..ates-english-update_31bf3856ad364e35_10.0.22621.1_none_212e9a803e2f018c.manifest
C:\Windows\WinSxS\Manifests\amd64_microsoft-windows-s..rotection.resources_31bf3856ad364e35_10.0.22621.1_en-us_2133bdc583c01d49.manifest
C:\Windows\WinSxS\Manifests\amd64_microsoft-windows-s..wallpaper-spotlight_31bf3856ad364e35_10.0.22621.2506_none_21d62f82463d2931.manifest
C:\Windows\WinSxS\Manifests\amd64_microsoft-windows-security-identitystore_31bf3856ad364e35_10.0.22621.2506_none_219e7c521d756e9b.manifest
C:\Windows\WinSxS\Manifests\amd64_microsoft-windows-swenumstreamci_31bf3856ad364e35_10.0.22621.1_none_218f4a9e09a4bb36.manifest
C:\Windows\WinSxS\Manifests\amd64_microsoft-windows-t..er-client.resources_31bf3856ad364e35_10.0.22621.1_en-us_2191fbf7c298c2b0.manifest
C:\Windows\WinSxS\Manifests\amd64_microsoft-windows-w..-provider.resources_31bf3856ad364e35_10.0.22621.1_en-us_218d47c2dfef3a04.manifest
C:\Windows\WinSxS\Manifests\amd64_microsoft-windows-webapi.resources_31bf3856ad364e35_10.0.22621.1_zh-cn_2191f3d6d1e8d996.manifest
C:\Windows\WinSxS\Manifests\amd64_microsoft.windows.c..-controls.resources_6595b64144ccf1df_5.82.22621.1_sv-se_216b8f5fe0e616f6.manifest
C:\Windows\WinSxS\Manifests\amd64_multimedia-restrict..headless-deployment_31bf3856ad364e35_10.0.22621.3235_none_21d96de06533e27f.manifest
C:\Windows\WinSxS\Manifests\amd64_multimedia-restrict..headless-deployment_31bf3856ad364e35_10.0.22621.2792_none_21a9a2726556bc34.manifest
C:\Windows\WinSxS\Manifests\amd64_netfx-dw_b03f5f7f11d50a3a_10.0.22621.1_none_21e2bf51c7407d3c.manifest
What is the command you are running?
Seems to be working on linux:
fd -- 21 .
./-- 21.txt
Also when actually searching for this oddly named file, including the hyphens:
fd "\-\-\ 21" .
./-- 21.txt
Hope this helps find a fix.
Could this be related to https://blog.rust-lang.org/2024/04/09/cve-2024-24576.html ?