01-13-2014
Better to go with a script.
Could not recall any direct command.
This User Gave Thanks to panyam For This Post:
9 More Discussions You Might Find Interesting
1. AIX
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)
Discussion started by: tom007
1 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
I have a set of large files ~ 500_900Mb I have generated and I'd like to quickly zip and copy them to a new folder elsewhere ...
Can anyone suggest a quicky ??
Cheers :) (3 Replies)
Discussion started by: pawannoel
3 Replies
3. Programming
Hi every one,
Please excuse me if any grammatical mistakes is there.
I have multiple xml files in one directory, I need to create multiple XML files into one XML file.example files like this</p>
file1:bvr.xml
... (0 Replies)
Discussion started by: veerubiji
0 Replies
4. Shell Programming and Scripting
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)
Discussion started by: RAMA PULI
9 Replies
5. Shell Programming and Scripting
I need a script file for backup (zip or tar or gz) of old log files in our unix server (causing the space problem). Could you please help me to create the zip or gz files for each log files in current directory and sub-directories also?
I found one command which is to create gz file for the... (4 Replies)
Discussion started by: Mallikgm
4 Replies
6. Shell Programming and Scripting
Hello everybody,
I have a double mission with some XML files, which is pretty challenging for my actual beginner UNIX knowledge. I need to extract some strings from multiple XML files and create a new XML file with the searched strings..
The original XML files contain the source code for... (12 Replies)
Discussion started by: milano.churchil
12 Replies
7. Shell Programming and Scripting
Hi,
I'm having a xml file with multiple xml header. so i want to split the file into multiple files.
Sample.xml consists multiple headers so how can we split these multiple headers into multiple files in unix.
eg :
<?xml version="1.0" encoding="UTF-8"?>
<ml:individual... (3 Replies)
Discussion started by: Narendra921631
3 Replies
8. UNIX for Beginners Questions & Answers
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)
Discussion started by: b.saipriyanka
2 Replies
9. Shell Programming and Scripting
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
zipnote(1) General Commands Manual zipnote(1)
NAME
zipnote - write the comments in zipfile to stdout, edit comments and rename files in zipfile
SYNOPSIS
zipnote [-w] [-b path] [-h] [-v] [-L] zipfile
ARGUMENTS
zipfile Zipfile to read comments from or edit.
OPTIONS
-w Write comments to a zipfile from stdin (see below).
-b path
Use path for the temporary zip file.
-h Show a short help.
-v Show version information.
-L Show software license.
DESCRIPTION
zipnote writes the comments in a zipfile to stdout. This is the default mode. A second mode allows updating the comments in a zipfile as
well as allows changing the names of the files in the zipfile. These modes are described below.
EXAMPLES
To write all comments in a zipfile to stdout use for example
zipnote foo.zip > foo.tmp
This writes all comments in the zipfile foo.zip to the file foo.tmp in a specific format.
If desired, this file can then be edited to change the comments and then used to update the zipfile.
zipnote -w foo.zip < foo.tmp
The names of the files in the zipfile can also be changed in this way. This is done by following lines like
"@ name"
in the created temporary file (called foo.tmp here) with lines like
"@=newname"
and then using the -w option as above.
BUGS
The temporary file format is rather specific and zipnote is rather picky about it. It should be easier to change file names in a script.
Does not yet support large (> 2 GB) or split archives.
SEE ALSO
zip(1), unzip(1)
AUTHOR
Info-ZIP
v3.0 of 8 May 2008 zipnote(1)