11-19-2012
Thank you Jim...Will give it a try and will let you know Thank you very much for the quick response appreciate your help.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am transferring a large .zip file (20 GB) from an NT server to HP-UX and Solaris servers. Originally I tried to use info-zip's unzip, but I found out pretty quickly that it does not support files over 4GB. Any suggestions on how to work around this problem? Different decompression utility?... (9 Replies)
Discussion started by: dangral
9 Replies
2. UNIX for Dummies Questions & Answers
Hello,
I am trying to return the name of the resulting file from a .zip archive file using unix unzip command.
unzip c07212007.cef7081.zip
Archive: c07212007.cef7081.zip
SecureZIP for z/OS by PKWARE
inflating: CEP/CEM7080/PPVBILL/PASS/G0063V00
I used the following command to unzip in... (5 Replies)
Discussion started by: oracledev
5 Replies
3. Solaris
I have some zip files. Every file has a "folder/xml file" inside it. Is there any way to change these zip files directly without unzipping them. I want to convert these zip files to "/xml file" (want to move the xml file/s one root up by removing the folder inside it.)
Ex:
-bash-3.00$ for file... (1 Reply)
Discussion started by: _prasad
1 Replies
4. Shell Programming and Scripting
I have these zip files that come in with the same name, but different versions. We'll say:
SQL_version2.zip
SQL_version3.zip
SQL_version2432.zip
I was wondering if there is a single command (or even piped command, thus still making it a single command) that will let me unzip the latest... (3 Replies)
Discussion started by: mrwatkin
3 Replies
5. UNIX for Dummies Questions & Answers
I've got to install and compile some C++ source code that has been developed on a windows box on a Sun sparc workstation. Can I simply e-mail myself some windows zip files and then download and unzip them on the sparc box? I've tried this on a linux openSUSE machine and it works fine but I'm not... (4 Replies)
Discussion started by: achartley
4 Replies
6. Shell Programming and Scripting
Hi I have 4 files in a folder and I am supposed to group and zip them via a mapping file as such:
Group. Filename
1. A.txt
1. B.txt
2. C.txt
2. D.txt
Result should be 2 zip files - 1.zip and 2.zip created with the contents being the text file.
How can... (7 Replies)
Discussion started by: nightrider
7 Replies
7. UNIX for Dummies Questions & Answers
How i print just only the file name in the zip file.
unzip -l AAC_20130930_v13.xml.zip
Archive: AAC_20130930_v13.xml.zip
Length Date Time Name
-------- ---- ---- ----
62665745 11-19-13 10:43 AAC_20130930_v13.xml
-------- -------
62665745 ... (2 Replies)
Discussion started by: Ariean
2 Replies
8. Shell Programming and Scripting
I have files in the ABC_YYYYMMDD.zip format under a directory. Each zip file contains A text file in the ABC_YYYYMMDD.txt format.
I am trying to create a script that will Rename the zip files and their underlying text file replacing the datepart in them with .
For eg: in the case of... (1 Reply)
Discussion started by: bash987
1 Replies
9. 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
10. 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
LEARN ABOUT DEBIAN
ares_parse_soa_reply
ARES_PARSE_SOA_REPLY(3) Library Functions Manual ARES_PARSE_SOA_REPLY(3)
NAME
ares_parse_soa_reply - Parse a reply to a DNS query of type SOA
SYNOPSIS
#include <ares.h>
int ares_parse_soa_reply(const unsigned char* abuf, int alen,
struct ares_soa_reply** soa_out);
DESCRIPTION
The ares_parse_soa_reply function parses the response to a query of type SOA into a struct ares_soa_reply. The parameters abuf and alen
give the contents of the response. The result is stored in allocated memory and a pointer to it stored into the variable pointed to by
soa_out. It is the caller's responsibility to free the resulting soa_out structure when it is no longer needed using the function
ares_free_data
The structure ares_soa_reply contains the following fields:
struct ares_soa_reply {
char *nsname;
char *hostmaster;
unsigned int serial;
unsigned int refresh;
unsigned int retry;
unsigned int expire;
unsigned int minttl;
};
RETURN VALUES
ares_parse_soa_reply can return any of the following values:
ARES_SUCCESS The response was successfully parsed.
ARES_EBADRESP The response was malformatted.
ARES_ENODATA The response did not contain an answer to the query.
ARES_ENOMEM Memory was exhausted.
AVAILABILITY
This function was first introduced in c-ares version 1.9.0.
SEE ALSO
ares_query(3) ares_free_data(3)
29 May 2012 ARES_PARSE_SOA_REPLY(3)