Skip to content

Get-ChildItem -Include/-Exclude should support wildcards in the parent path #4126

Closed

Description

@iSazonov

Sample to remove all x64 subdirectories:

    Get-ChildItem -Path ./  -Directory -Include "*x64*" -Recurse | Remove-Item -Force

From Michael Klement (@mklement0):
We want that it to work against the full path. For the leaf component it is already work.

Activity

  1. added
    WG-Engine-Providers
    Issue-Enhancement
    on Jun 28, 2017
  2. mklement0 commented on Jun 28, 2017

    @mklement0
  3. iSazonov commented on Jun 28, 2017

    @iSazonov
    CollaboratorAuthor

    I only split discussion to discuss one branch.
    Typo fixed.

  4. added
    Up-for-Grabs
    on Jun 28, 2017
  5. added
    Hacktoberfest
    on Sep 30, 2017
  6. iamraghavs commented on Oct 14, 2017

    @iamraghavs
    Contributor

    Ilya (@iSazonov) is this already being implemented or can I give it a try?

  7. iSazonov commented on Oct 14, 2017

    @iSazonov
    CollaboratorAuthor

    @raghav710 Feel free to grab!

  8. iamraghavs commented on Oct 19, 2017

    @iamraghavs
    Contributor

    Ilya (@iSazonov) could you help me get started? I was searching the GetChildrenCommand.cs and FileSystemProvider.cs but couldnt find the exact location to make the changes. Thanks!

  9. iamraghavs commented on Dec 3, 2017

    @iamraghavs
    Contributor

    Ilya (@iSazonov) I havent spent time on this. If there is any deadline for this feature, let me know so I can fastrack it if required (or someone who has time can take this up). Thanks! :)

  10. changed the title [-]We need enhance -Include/-Exclude to support wildcards[/-] [+]Get-ChildItem -Include/-Exclude should support wildcards[/+] on Feb 19, 2019
  11. changed the title [-]Get-ChildItem -Include/-Exclude should support wildcards[/-] [+]Get-ChildItem -Include/-Exclude should support wildcards in the parent path[/+] on Feb 19, 2019
  12. removed
    Hacktoberfest
    on Feb 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Area-FileSystem-ProviderIssue-EnhancementUp-for-GrabsWG-CmdletsWG-Engine-Providers

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions