i am using a FreeBSD remote account and I have directory that holds a number of
other directories most of which posses *.tgz *.tar.bz2 *.gz files... on a linux system
i would use a find format such as this to locate and mv *.tgz and *.tar.bz2 files
find ./dir -type f -iname "*.t*" -print |... (3 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,
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)
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)
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)
Hi there,
I am using AIX and trying to search and replace a string with another string in multiple files in different directories.
I wanted to search replace in steps so I don't change all of the instance anywhere in the server at once, minimizing impact.
STEP 1:
--------
I first searched... (5 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 DEBIAN
advzip
AdvanceCOMP ZIP Compression Utility(1) General Commands Manual AdvanceCOMP ZIP Compression Utility(1)NAME
advzip - AdvanceCOMP ZIP Compression Utility
SYNOPSIS
advzip [-a, --add] [-x, --extract] [-l, --list]
[-z, --recompress] [-t, --test] [-0, --shrink-store]
[-1, --shrink-fast] [-2, --shrink-normal] [-3, --shrink-extra]
[-4, --shrink-insane] [-N, --not-zip] [-p, --pedantic] [-q, --quiet]
[-h, --help] [-V, --version] ARCHIVES... [FILES...]
DESCRIPTION
The main purpose of this utility is to recompress and test the zip archives to get the smallest possible size.
For recompression the 7-Zip (www.7-zip.com) Deflate implementation is used. This implementation generally gives 5-10% more compression than
the zLib Deflate implementation.
For experimental purpose also the 7-Zip LZMA algorithm is available with the -N option. In this case, the generated zips WILL NOT BE USABLE
by any other program. To make them usable you need to recompress them without the -N option. Generally this algorithm gives 10-20% more
compression than the 7-Zip Deflate implementation.
OPTIONS -a, --add ARCHIVE FILES...
Create the specified archive with the specified files. You must specify only one archive.
-x, --extract ARCHIVE
Extract all the files on the specified archive. You must specify only one archive.
-l, --list ARCHIVES...
List the content of the specified archives.
-z, --recompress ARCHIVES...
Recompress the specified archives. If the -1, -2, -3 options are specified, it's used the smallest file choice from: the previous
compressed data, the new compression and the uncompressed format. If the -0 option is specified the archive is always rewritten
without any compression.
-t, --test ARCHIVES...
Test the specified archives. The tests may be extended with the -p option.
-N, --not-zip
Use the LZMA algorithm when compressing. The generated zips will not be readable by any other application!
-p, --pedantic
Be pedantic on the zip tests. If this flag is enabled some more extensive tests on the zip integrity are done. These tests are gen-
erally not done by other zip utilities.
-0, --shrink-store
Disable the compression. The file is only stored and not compressed. This option is very useful to expand the archives of .png and
.mp3 files. These files are already compressed, trying to compress them another time is really a waste of time and resource.
-1, --shrink-fast
Set the compression level to "fast".
-2, --shrink-normal
Set the compression level to "normal". This is the default level of compression.
-3, --shrink-extra
Set the compression level to "extra".
-4, --shrink-insane
Set the compression level to "insane".
COPYRIGHT
This file is Copyright (C) 2002 Andrea Mazzoleni, Filipe Estima
SEE ALSO advpng(1), advmng(1), advdef(1)
AdvanceCOMP ZIP Compression Utility(1)