PowerShell / Microsoft.PowerShell.Archive

Archive PowerShell module contains cmdlets for working with ZIP archives
https://technet.microsoft.com/en-us/library/dn818910.aspx
MIT License
94 stars 37 forks source link

Missing/Different behavior in file system attributes and directoryseparator char (xplat) #54

Open WernerMairl opened 6 years ago

WernerMairl commented 6 years ago

Hi Not sure if this is the right place for my problem/story.. please advice!

Use case/full story i have a directory structure like the following inside a git repo on bitbucket:

/src/folder/filenameWithUmlauteÄÖÜß.txt

using Windows 10 with Powershell Core (6.0.1) on my dev machine!

Using Bitbucket Webiste => Download Branch as zip to my dev machine (Windows 10)

Not working:

issues:

investigations i have used "unzip -Z" on the ubuntu machine to see the details of the zip files. basic differences

Zip file coming from windows explorer (or bitbucket) shows

Zip file created by pwsh - Compress-Archive shows:

My Questions:

i have a lot of experience in windows/dotnet/powershell, i'm new on linux and i like the dotnetcore/powershellcore way to do and learn xplat.....

regards Werner

ayousuf23 commented 2 years ago

Can you provide more info to replicate this bug? What did the zip file contain?

Cluster7ck commented 1 year ago

The issue is documented here and here

drodiger commented 1 year ago

Hi, when is this going to be fixed? It is just one character ;-) I had to use 7zip for zipping, instead of simple PS command...