Link to home
Start Free TrialLog in
Avatar of alcani
alcani

asked on

LINUX ZIP - UNCOMPRESS WINDOWS PATH

Hi,

I’m using ZIP on the Linux command line.
I would like to unzip those files in a Windows machine including MS-DOS Path

Eg.
zip –jq /tmp/test.zip /tmp/files*

Double click ZIP file under Windows machine
C:\TEMP\files…

Any idea?
Regards,
ASKER CERTIFIED SOLUTION
Avatar of Gerwin Jansen
Gerwin Jansen
Flag of Netherlands image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Bill Prew
Bill Prew

Well, since you are using the -j option, only the file names are stored in the ZIP, no path info.  As a result, on the destination Windows system, when you open or extract the files you will need to specify the folder to place the files in.

Double clicking on Windows will only run the default program associated with ZIP files, which typically will open a UI to view the files, not automatically extract them...

~bp