Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

LINUX ZIP - UNCOMPRESS WINDOWS PATH

Posted on 2016-09-06
3
Medium Priority
?
145 Views
Last Modified: 2016-11-03
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,
0
Comment
Question by:alcani
2 Comments
 
LVL 38

Accepted Solution

by:
Gerwin Jansen, EE MVE earned 2000 total points
ID: 41786746
You can use the 7-Zip command line utility for that. You can get 7-Zip here:

http://7-zip.org/download.html
0
 
LVL 59

Expert Comment

by:Bill Prew
ID: 41786788
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
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Suggested Courses
Course of the Month6 days, 17 hours left to enroll

782 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question