Keka icon indicating copy to clipboard operation
Keka copied to clipboard

[REQ] Order in ZIP not equal to order in MacOS Finder

Open baszero opened this issue 4 years ago • 2 comments

Configuration

  • Keka version: 1.2.16 (4617)
  • macOS version: 10.14.6 (18G9216)

Describe the bug

Order in ZIP not equal to order in MacOS Finder.

To Reproduce

Steps to reproduce the behavior:

  1. Create 3 files, e.g. My File 9.pdf / My File 10.pdf / My File 11.pdf
  2. In the finder, I sort by name and the files correctly show up sorted, starting with 9, ending with 11
  3. I drag the 3 files onto the Keka, the ZIP gets created.
  4. When I check the ZIP content, the 9-file is the last, instead of the first one. (I used unzip -vl Archive.zip to verify the order in the ZIP)

Expected behavior

I need KeKa to sort like finder shows the files.

baszero avatar Oct 20 '21 08:10 baszero

They're currently being sorted by name, just not treated as numbers like in Finder. In this case 10, 11 and 9 will be the order, since 1 is lower than 9.

You can simply name your files with leading zeros depending on your biggest number. In your example will be My File 09.pdf.

I can check if there's a way to not change the order of the elements coming from the Finder, so first to come goes first.

aonez avatar Oct 20 '21 09:10 aonez

Thanks @aonez , I'm aware of the workaround with leading zeros, then it works. However it's not a solution. I need a compression tool that takes the first as first as you say. I didn't find a way yet.

baszero avatar Oct 20 '21 09:10 baszero