Hi,
I have a folder that contains a few sub-folders. I would like to zip that folder and KEEP the subfolders. What it does at the moment is taking all the files within the subfolders and zipping them into one big file (zip -r ...). Does anyone know the UNIX command to keep the subfolders in the... (3 Replies)
Hello,
I am an amature at UNIX commands and functionality.
Please could you all assist me by replying to my below mentioned querry :
How can I upload a zip folder on a unix path from my windows folder?
Thanks guys
Cheers (2 Replies)
Hi guys,
I have a question about the zip command. Right now I have a directory with some files and folders on it that I want to compress. When I run the zip command:
zip foo -r
I am getting a foo.zip file that once I unzip it contains a foo folder. I want to create the foo.zip, but that... (1 Reply)
I have a ZIP folder ( folder.zip or folder.jar ) which contains , lets say 3 directories under it ( directory1, directory2, directory3).
How can i unzip the contents of directory2 ONLY ? I do not have to unzip the complete folder.
TIA. (2 Replies)
Hi ,
I am working on a script which will do the below things
1) It will checkout from the repository
2) then zip that checkout stuff
3) and put the zip folder to FTP server
Here my question is I am able to checkout successfully
through this coomand
svn co... (2 Replies)
Hi i have a php script that works 100% however i don't want this to run on php because of server limits etc. Ideally if i could convert this simple php script to a shell script i can set it up to run on a cron. My mac server has curl on it. So i am assuming i should be using this to download the... (3 Replies)
Hi,
I am trying to write a shell script which will download a file from a website say <http://xyz.com/file1.zip>.
The file is in .zip format and its size is huge, normally more than 20MB.
I searched and found that simplae way to do it is using
wget -O /home/pat <website address>
... (1 Reply)
Environment: HP-Unix Operating System B.11.31 U ia64
I have a folder with around 2000 files. There are some files which sizes are more than 8 GB. I need to compress all the files in the folder into a single file, so that I can transfer the file.
I tried with tar command, but the tar... (8 Replies)
Discussion started by: Siva SQL
8 Replies
LEARN ABOUT MOJAVE
zipdetails5.18
ZIPDETAILS(1) Perl Programmers Reference Guide ZIPDETAILS(1)NAME
zipdetails - display the internal structure of zip files
SYNOPSIS
zipdetaile [-v] zipfile.zip
zipdetails -h
DESCRIPTION
Zipdetails displays information about the internal record structure of the zip file. It is not concerned with displaying any details of the
compressed data stored in the zip file.
The program assumes prior understanding of the internal structure of a Zip file. You should have a copy of the Zip APPNOTE file at hand to
help understand the output from this program ("SEE ALSO" for details).
OPTIONS
-v Enable Verbose mode
-h Display help
By default zipdetails will output the details of the zip file in three columns.
Column 1
This contains the offset from the start of the file in hex.
Column 2
This contains a textual description of the field.
Column 3
If the field contains a numeric value it will be displayed in hex. Zip stored most numbers in little-endian format - the value
displayed will have the little-endian encoding removed.
Next, is an optional description of what the value means.
If the "-v" option is present, column 1 is expanded to include
o The offset from the start of the file in hex.
o The length of the filed in hex.
o A hex dump of the bytes in field in the order they are stored in the zip file.
TODO
Error handling is still a work in progress. If the program encounters a problem reading a zip file it is likely to terminate with an
unhelpful error message.
SEE ALSO
The primary reference for Zip files is the "appnote" document available at <http://www.pkware.com/documents/casestudies/APPNOTE.TXT>.
An alternative is the Info-Zip appnote. This is available from <ftp://ftp.info-zip.org/pub/infozip/doc/>
The "zipinfo" program that comes with the info-zip distribution (<http://www.info-zip.org/>) can also display details of the structure of a
zip file.
See also IO::Compress::Zip, IO::Uncompress::Unzip.
AUTHOR
Paul Marquess pmqs@cpan.org.
COPYRIGHT
Copyright (c) 2011-2012 Paul Marquess. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.18.2 2018-08-17 ZIPDETAILS(1)