Timeline for Convert a Windows-created ZIP to Linux (internal paths issue)
Current License: CC BY-SA 3.0
15 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Aug 11, 2023 at 11:17 | answer | added | Emilio | timeline score: 2 | |
| Dec 30, 2021 at 15:34 | answer | added | Eric Rank | timeline score: 0 | |
| Dec 23, 2020 at 11:18 | answer | added | user3617992 | timeline score: 0 | |
| Sep 3, 2020 at 22:01 | answer | added | Henrik | timeline score: 1 | |
| Feb 19, 2019 at 4:04 | answer | added | DozyBrat | timeline score: 3 | |
| Jul 6, 2017 at 20:42 | answer | added | xn. | timeline score: 12 | |
| May 18, 2017 at 0:30 | answer | added | Daishi | timeline score: 3 | |
| Nov 6, 2014 at 23:25 | history | edited | Gilles 'SO- stop being evil' |
edited tags
|
|
| Nov 6, 2014 at 17:43 | vote | accept | Slav | ||
| Nov 5, 2014 at 17:35 | comment | added | eyoung100 |
I have a hunch, that the zip file creator is using the native Windows Zip Interface, i.e, create an empty file and then adding files into the zip file. This method is not portable, as you have discovered. You need to use a program like WinZip or 7-Zip that has a CLI, like Anton used below. I just tried to use Zip.exe and got not recognized.
|
|
| Nov 5, 2014 at 17:25 | comment | added | Slav |
Even with -j, I still get filename \window\path\separator\myfile.ext cause Linux/Zip don't treat it as a paths. And I have absolutely no control over the zip file creation.
|
|
| Nov 5, 2014 at 17:09 | answer | added | Anthon | timeline score: 8 | |
| Nov 5, 2014 at 17:04 | comment | added | eyoung100 |
Go Back to Windows. Tell whoever creates the Zip File not to use the Native Zip Interface, but a program like 7-Zip, and have them create a tar file. If that can't be done you need to unzip the files while ignoring the path, using the unzip -j -d options. See Forcing Unzip - No Paths
|
|
| Nov 5, 2014 at 16:36 | review | First posts | |||
| Nov 5, 2014 at 16:43 | |||||
| Nov 5, 2014 at 16:35 | history | asked | Slav | CC BY-SA 3.0 |