Solved

LINUX ZIP - UNCOMPRESS WINDOWS PATH

Posted on 2016-09-06
3
98 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
3 Comments
 
LVL 37

Accepted Solution

by:
Gerwin Jansen, EE MVE earned 500 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 53

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
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 get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…

809 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