07-03-2013
Even though the files may be the same, their path is not. zip will include the respective paths, and thus the difference in zip file sizes.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
I have one file stat.
Stat file contents are as follows: for example.
H50768020040913,00260100,507680,13,0000000643,0000000643,00000,0000
H50769520040808,00260100,507695,13,0000000000,0000000000,00000,0000 H50770620040611,00260100,507706,13,0000000000,0000000000,00000,0000
Now i... (1 Reply)
Discussion started by: davidpreml
1 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. UNIX for Dummies Questions & Answers
Hi,
I am using the jar command to compress a directory. The size of the directory contents is 105 GB. The jar/zip that gets created is approximately 5.5 GB in size. But this file seems to be corrupt when verified using the unzip command.
Is there any limitation for the size of the zip file?... (4 Replies)
Discussion started by: prafulasher
4 Replies
4. 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
5. 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
6. 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
7. Shell Programming and Scripting
Hi frnds,
My requirement is I have a zip file with name say eg: test_ABC_UH_ccde2a_awdeaea_20150422.zip
within that there are subdirectories on each directory we again have .zip files and in that we have files like mama20150422.gz and so on.
Iam in need of a bash script so that it unzips... (0 Replies)
Discussion started by: Ravi Kishore
0 Replies
8. Shell Programming and Scripting
Hii,
Could someone help me to append string to the starting of all the filenames inside a directory but it should exclude .zip files and subdirectories.
Eg.
file1: test1.log
file2: test2.log
file3 test.zip
After running the script
file1: string_test1.log
file2: string_test2.log
file3:... (4 Replies)
Discussion started by: Ravi Kishore
4 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
acctsh(1M) acctsh(1M)
NAME
acctsh: chargefee, ckpacct, dodisk, lastlogin, monacct, nulladm, prctmp, prdaily, prtacct, shutacct, startup, turnacct - shell procedures
for accounting
SYNOPSIS
login-name number
[blocks]
[files ...]
number
file
[mmdd]
file [heading]
[reason]
DESCRIPTION
Can be invoked to charge a
number of units to login-name. A record is written to to be merged with other accounting records during the night.
Should be initiated via
It periodically checks the size of If the size exceeds blocks, 1000 by default, is invoked with argument switch. If the
number of free disk blocks in the file system falls below 500, automatically turns off the collection of process accounting
records via the argument to When at least this number of blocks is restored, the accounting will be activated again. This
feature is sensitive to the frequency at which is executed, usually by
Should be invoked by
to perform the disk accounting functions. By default, it will do disk accounting on the special files in If the flag is
used, it does a slower version of disk accounting by login directory. files specifies the one or more filesystem names
where disk accounting is to be done. If files is used, disk accounting will be done on these filesystems only. If the flag
is used, files should be mount points of mounted filesystem. If omitted, they should be the special file names of mountable
filesystems.
Invoked by to update which shows the last date on which each user logged in (see runacct(1M)).
Should be invoked once each month or each accounting period.
number indicates which month or period it is. If number is not given, it defaults to the current month (01 through 12).
This default is useful if is to executed via on the first day of each month. creates summary files in and restarts summary
files in
Creates file with mode 664 and ensures that owner and group are It is called by various accounting shell procedures.
Can be used to print the session record file normally
created by (see acctcon(1M)).
Invoked by (see runacct(1M)) to format a report of the previous day's accounting data. The report resides in where mmdd is the month
and day of the report. The current daily accounting reports may be printed by typing prdaily. Previous days' accounting
reports can be printed by using the mmdd option and specifying the exact report date desired. The flag prints a report of
exceptional usage by login id for the specifed date. Previous daily reports are cleaned up and therefore inaccessible after
each invocation of The flag prints a report of exceptional resource usage by command, and can be used on current day's
accounting data only.
Can be used to format and print any total accounting
file.
Should be invoked during a system shutdown
to turn process accounting off and append a "reason" record to
Should be called by system startup scripts
to turn the accounting on whenever the system is brought up.
An interface to
(see acct(1M)) to turn process accounting or The argument turns accounting off, moves the current to the next free name in
then turns accounting back on again. (incr is a number starting with and incrementing by one for each additional file.) is
called by and thus can be run under and used to keep to a reasonable size.
FILES
holds all accounting commands listed in section(1M) of this manual
accumulator for fees
working directory
current file for per-process accounting
used if gets large, and during execution of daily accounting procedure
contains the limits for exceptional
usage by command name
contains the limits for exceptional usage by login id
summary directory, should be saved
login/logoff summary
SEE ALSO
acct(1M), acctcms(1M), acctcom(1M), acctcon(1M), acctmerg(1M), acctprc(1M), cron(1M), diskusg(1M), fwtmp(1M), runacct(1M), acct(2),
acct(4), utmp(4).
STANDARDS CONFORMANCE
acctsh(1M)