I don't know expdp, but if it can write to standard output instead of a regular file, this should work:
But check first the expdp options. It might support compression natively.
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)
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,
I need to zip a .dat file with .zip extension. I tried using the "zip" command. But shell says. "ksh: zip: not found"
Currently I am using gunzip to zip and changing the extension ".gz" to ".zip" as follows.
mv $file `echo $file | sed 's/\(.*\.\)gz/\1zip/'`
But when I tried... (1 Reply)
I've a zip file called Z00.zip and in that file there are 22 more zip files. Each zip file having .txt files nearly 10,000 files. I am trying to unzip all these .txt files in one command line to unzip each .zip file from Z00.zip file. Would like to know whether possible to unzip all sub-zip files... (1 Reply)
i am using expdp in korn shell to export tables from oracle. What i dont know is how to capture any errors if my expdp fails.
I am looking for some options like Spool where i can write the error into a file and return the location of that file to my calling script in case of errors. Please help me... (2 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 all,
i face a problem on (oracle database) installed on server Linux i need to export back as dump file, when i try to export give me the below error.
# expdp system/oracle directory=test dumpfile=Prodfb20150311.dmp logfile=Prodfb20150311.log FULL=y
Export: Release 11.2.0.1.0 -... (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... (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 NETBSD
gzcat
GZIP(1) BSD General Commands Manual GZIP(1)NAME
gzip -- compression/decompression tool using Lempel-Ziv coding (LZ77)
SYNOPSIS
gzip [-cdfhlNnqrtVv] [-S suffix] file [file [...]]
gunzip [-cfhNqrtVv] [-S suffix] file [file [...]]
zcat [-fhV] file [file [...]]
DESCRIPTION
The gzip program compresses and decompresses files using Lempel-Ziv coding (LZ77). If no files are specified, gzip will compress from stan-
dard input, or decompress to standard output. When in compression mode, each file will be replaced with another file with the suffix, set by
the -S suffix option, added, if possible. In decompression mode, each file will be checked for existence, as will the file with the suffix
added.
If invoked as gunzip then the -d option is enabled. If invoked as zcat or gzcat then both the -c and -d options are enabled.
This version of gzip is also capable of decompressing files compressed using compress(1) or bzip2(1).
OPTIONS
The following options are available:
-1, --fast
-2
-3
-4
-5
-6
-7
-8
-9, --best These options change the compression level used, with the -1 option being the fastest, with less compression, and the -9
option being the slowest, with optimal compression. The default compression level is 6.
-c, --stdout, --to-stdout
This option specifies that output will go to the standard output stream, leaving files intact.
-d, --decompress, --uncompress
This option selects decompression rather than compression.
-f, --force This option turns on force mode. This allows files with multiple links, overwriting of pre-existing files, reading from or
writing to a terminal, and when combined with the -c option, allowing non-compressed data to pass through unchanged.
-h, --help This option prints a usage summary and exits.
-l, --list This option displays information about the file's compressed and uncompressed size, ratio, uncompressed name. With the -v
option, it also displays the compression method, CRC, date and time embedded in the file.
-N, --name This option causes the stored filename in the input file to be used as the output file.
-n, --no-name This option stops the filename and timestamp from being stored in the output file.
-q, --quiet With this option, no warnings or errors are printed.
-r, --recursive This option is used to gzip the files in a directory tree individually, using the fts(3) library.
-S suffix, --suffix suffix
This option changes the default suffix from .gz to suffix.
-t, --test This option will test compressed files for integrity.
-V, --version This option prints the version of the gzip program.
-v, --verbose This option turns on verbose mode, which prints the compression ratio for each file compressed.
ENVIRONMENT
If the environment variable GZIP is set, it is parsed as a white-space separated list of options handled before any options on the command
line. Options on the command line will override anything in GZIP.
SEE ALSO bzip2(1), compress(1), xz(1), fts(3), zlib(3)HISTORY
The gzip program was originally written by Jean-loup Gailly, licensed under the GNU Public Licence. Matthew R. Green wrote a simple front
end for NetBSD 1.3 distribution media, based on the freely re-distributable zlib library. It was enhanced to be mostly feature-compatible
with the original GNU gzip program for NetBSD 2.0.
This manual documents NetBSD gzip version 20040427.
AUTHORS
This implementation of gzip was written by Matthew R. Green <mrg@eterna.com.au>.
BSD June 18, 2011 BSD