Skip to content

Built-in find doesn't support -regex and -regextype #2882

@Pistonight

Description

@Pistonight

Description

Use find command with -regex on Windows, the built-in find command doesn't support it

Since i use uutils/findutils, the currently workaround is using $(which find) (with which installed on windows)

Version

3.51.1, 3.52 nightly

Operating system

Windows

Experiments Enabled

No response

Example Taskfile

version: '3'

tasks:
  test:
    - find . -regex '.*\.h'

Metadata

Metadata

Assignees

No one assigned

    Labels

    dep: u-root/u-rootIssues related to the upstream core utils used by Task.
    No fields configured for feature.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions