Skip to content

Compress-Archive should support compressing hidden files #154

Open
@jtmoon79

Description

@jtmoon79

Summary of the new feature / enhancement

Currently Compress-Archive fails to compress hidden files. So for example, Compress-Archive -Path C:\My-Git-Repo will not compress the directory .git which is a directory with NTFS attribute hidden. Users must come up with various workarounds for this problem.

Users should be able to include NTFS hidden files and directories in the archive.

Proposed technical implementation details (optional)

Add a parameter switch like -Hidden or -IncludeHidden that will cause Compress-Archive to include all hidden files and directories under the -Path within the final archive file.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions