ouch icon indicating copy to clipboard operation
ouch copied to clipboard

Backslashes when creating a zip

Open Tyarel8 opened this issue 7 months ago • 1 comments

Version

0.6.1

Description

When creating a .zip file in windows, the path of folders use backslashes, which results in errors when opening the archive with apps like 7zip. It shows all the path as the filename with weird characters for path separators.

Image

Other formats like 7z work normal.

→ ouch list test.7z
Archive: \\?\C:\Users\<user>\Downloads\test.7z
a/b.txt
a/

→ ouch list test.zip
Archive: \\?\C:\Users\<user>\Downloads\test.zip
a//
a\b.txt

Current Behavior

No response

Expected Behavior

No response

Additional Information

No response

Tyarel8 avatar May 15 '25 15:05 Tyarel8

Thanks for reporting, I do not own a Windows machine so support is subpar.

marcospb19 avatar May 17 '25 16:05 marcospb19