"The zip program puts one or more compressed files into a single zip archive, along with information about the files (name, path, date, time of last modification, protection, and check information to verify file integrity). An entire directory structure can be packed into a zip archive with a single command."
Travel the directory structure recursively starting at the current directory; for example:
In this case, all the files matching *.c in the tree starting at the current directory are stored into a zip archive named foo.zip.
I have to zip many pdf files and the size of zip file must not exceed 200 MB. When size is more than 200 MB then multiple zip files needs to be created.
How we can achieve this in UNIX?
I have tried ZIP utility but it takes a lot of time when we add individual pdfs by looping through a... (1 Reply)
Hi All,
PFB is a requirement. I am new to shell scripting. So plz help. It would be highly appreciated.
1. choose all the log files based on a particular date (files location is '/test/domain')--i.e,we should choose all the files that are modified on 29th November, neither 28th nor 30th
2.... (3 Replies)
Hi,
Please help me,
i need a single line command for te below steps
1: listing a directory
2: searching a particular pattern in the names and creating the zip files of each
eg :
ls -lrt | grep jil | awk '{print $9}'
output is
kap.jil
pranabjil
pranabjil1
pranabjil2... (1 Reply)
Hello,
After searching, I didn't find any answer to execute my task. Her what I want to achieve on my MAC :
Create a ZIP file (not tar.gz or other) from a file
I want the ZIP created to have the name of the original file
I want to do this on multiple files (314 exactly)
So at the end the... (3 Replies)
Hi
I have a requirement in unix shell where I need to zip multiple files on server to one single .zip file. I dont see zip command in AIX and gzip command not doing completely what I want.
One I do .zip file, I should be able to unzip in my local Computer.
Here is example what I want... (9 Replies)
Hi,
Is there a direct command or need to write a shell script for following requirement?
Everyday a folder is populated with approx 25k to 30k xml files. I need to create multiple zip files in the same folder each containing 50 xml files. The last zip file may or may not contain 50 xml files.... (6 Replies)
I receive multiple zipped directories with files in them, so the .zip name is the name of the directory containing the files.
so i have used a simple loop to unzip all of them but when unzipped i have folders/directories, i wanted to strip these directories and remain with the actual files from... (1 Reply)
Hi all i am very new to shell scripting and need some help from you to learn
1)i have some log files that gets generated on daily basis example: i have abc_2017_01_30_1.log ,2017_01_30_2.log like wise so i want to zip this 4 logs which are created on same date into one zip folder.
2)Post zipping... (2 Replies)
Hi all i am very new to shell scripting and need some help from you to learn
1)i have some log files that gets generated on daily basis example: i have abc_2017_01_30_1.log ,2017_01_30_2.log like wise so i want to zip this 4 logs which are created on same date into one zip folder.
2)Post zipping... (1 Reply)
Discussion started by: b.saipriyanka
1 Replies
LEARN ABOUT MOJAVE
zipcloak
zipcloak(1) General Commands Manual zipcloak(1)NAME
zipcloak - encrypt entries in a zipfile
SYNOPSIS
zipcloak [-d] [-b path] [-h] [-v] [-L] zipfile
ARGUMENTS
zipfile Zipfile to encrypt entries in
OPTIONS -b path
--temp-path path
Use the directory given by path for the temporary zip file.
-d
--decrypt
Decrypt encrypted entries (copy if given wrong password).
-h
--help
Show a short help.
-L
--license
Show software license.
-O path
--output-file zipfile
Write output to new archive zipfile, leaving original archive as is.
-q
--quiet
Quiet operation. Suppresses some informational messages.
-v
--version
Show version information.
DESCRIPTION
zipcloak encrypts all unencrypted entries in the zipfile. This is the default action.
The -d option is used to decrypt encrypted entries in the zipfile.
zipcloak uses original zip encryption which is considered weak.
Note: The encryption code of this program is not copyrighted and is put in the public domain. It was originally written in Europe and can
be freely distributed from any country including the U.S.A. (Previously if this program was imported into the U.S.A, it could not
be re-exported from the U.S.A to another country.) See the file README.CR included in the source distribution for more on this.
Otherwise, the Info-ZIP license applies.
EXAMPLES
To be added.
BUGS
Large files (> 2 GB) and large archives not yet supported.
Split archives not yet supported. A work around is to convert the split archive to a single-file archive using zip and then use zipcloak
on the single-file archive. If needed, the resulting archive can then be split again using zip.
SEE ALSO zip(1), unzip(1)AUTHOR
Info-ZIP
v3.0 of 8 May 2008 zipcloak(1)