Solved

LINUX ZIP - UNCOMPRESS WINDOWS PATH

Posted on 2016-09-06
3
108 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 38

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 54

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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

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

Suggested Solutions

Active Directory replication delay is the cause to many problems.  Here is a super easy script to force Active Directory replication to all sites with by using an elevated PowerShell command prompt, and a tool to verify your changes.
Fine Tune your automatic Updates for Ubuntu / Debian
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.

740 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