03-12-2001
for file in *.Z
do
BASE=`basename $file .Z`
uncompress $file
gzip $BASE
done
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hello.
Can any1 help me with the compress command.
The -b option takes the number of bits used for encoding.
can u expalin why this number of bits is used and for what purpose. what is the maximum number we can provide?
In SFU these number has a valod range between 12 and 16 y?? (1 Reply)
Discussion started by: rahulrathod
1 Replies
2. SCO
Hello.
Can any1 help me with the compress command.
The -b option takes the number of bits used for encoding.
can u expalin why this number of bits is used and for what purpose. what is the maximum number we can provide?
In SFU these number has a valod range between 12 and 16 y?? (1 Reply)
Discussion started by: rahulrathod
1 Replies
3. UNIX for Dummies Questions & Answers
hi can i know the diff between these 2 commands in terms of data compressed (3 Replies)
Discussion started by: anandapani
3 Replies
4. UNIX for Dummies Questions & Answers
People i have files.arc i need to compress one by one...but they need to have the same date for example
jan 30 1234.arc
jan 30 12334.arc
jan 30 rejrne.arc
jan 30 e423e4.arc
jan 30 afdhnfhd.arc
jan 31 aresdfds.arc
I need to compres the jan 30 .arc only
thank you very much (1 Reply)
Discussion started by: enkei17
1 Replies
5. UNIX for Dummies Questions & Answers
Duplicate threads merged jmc
Hi,
I have a script wherein I want to use gzip instead of compress.
# cat dly_appsfiles_bkp.ksh
#
# dly_appsfiles_bkp.ksh
#
date_stamp=`date +%m%d%y`
base_dir=/u05/gld1
sub_dir=apps
bkp_dir=/u00/backup/GLD1/APPS... (5 Replies)
Discussion started by: narayanv
5 Replies
6. UNIX for Dummies Questions & Answers
Hi All !
We have to compress a big data file in unix server and transfer it to windows and uncompress it using winzip in windows.
I have used the utility ZIP like the below.
zip -e <newfilename> df2_test_extract.dat
but when I compress files greater than 4 gb using zip utility, it... (4 Replies)
Discussion started by: sakthifire
4 Replies
7. UNIX for Advanced & Expert Users
Hi,
in AIX 6.1 what is the limite of gzip and compress ?
I mean what can be at most the size of the file to compress ?
Thank you. (1 Reply)
Discussion started by: big123456
1 Replies
8. UNIX for Advanced & Expert Users
Hi All,
I have a random test file: test.txt, size: 146
$ ll test.txt
$ 146 test.txt
Take 1:
$ cat test.txt | gzip > test.txt.gz
$ ll test.txt.gz
$ 124 test.txt.gz
Take 2:
$ gzip test.txt
$ ll test.txt.gz
$ 133 test.txt.gz
As you can see, gzipping a file and piping into gzip... (1 Reply)
Discussion started by: hanfresco
1 Replies
9. Shell Programming and Scripting
Are the above commands does the same job ?
same functionaliy ?
If so, why do we have three utilities for the same functinality. (1 Reply)
Discussion started by: frintocf
1 Replies
10. UNIX for Beginners Questions & Answers
Good afternoon friends.
I wanted to make a query, how to compress several files and leave them all in 1, for example
flat text files:
filename_1.csv
filename_2.csv
filename_3.csv
expected result
filename_end.gzip = (filename_1.csv
filename_2.csv
filename_3.csv)
please (2 Replies)
Discussion started by: tricampeon81
2 Replies
LEARN ABOUT OSF1
convuser
convuser(8) System Manager's Manual convuser(8)
NAME
convuser - convert user profile information between BASE and ENHANCED formats
SYNOPSIS
/usr/tcb/bin/convuser -a [-c] [-i] [-n] [-u] [-R] [-U uid] [-M] [-T template] [-[qv]] [users]
/usr/tcb/bin/convuser -b [-T template] [-[qv]] [users]
/usr/tcb/bin/convuser -d [-n] [-M] [-[qv]] [users]
/usr/tcb/bin/convuser -H
FLAGS
-a Converts from BASE to ENHANCED authentication format. This option is incompatible with the -b and -d options. If none of -a, -b,
or -d have been supplied, then -a is implied by any of -c, -i, -n, -u, -R, or -U.
-b Converts from ENHANCED to BASE authentication format. This option is incompatible with the -a and -d options. The conversion in
this case is bring any compatible passwords from the extended profile back to the BASE profile.
-c Causes the conversion for -a to create new extended profiles only. If the -c option is given, existing extended profiles will
remain unchanged.
-d Removes any extended profiles which do not still have corresponding BASE profiles.
-i Cause the conversion for -a to invalidate the encrypted password field in the BASE profile if the change to the ENHANCED profile is
successful.
-n Cause the -a and -d conversions to include NIS passwd.byname map entries in the list of BASE profiles for consideration.
-q Cause non-error output to be suppressed.
-u Cause the -a conversion to leave the migrated passwords still usable. The default is to pre-expire them.
-v Cause more verbose reports of progress to be given.
-M Work on NIS master map files rather than the local profiles. This option works on NIS master hosts only.
-R Cause newly-created extended profiles to be written only to the /tcb/files directory tree (v4 only).
-T template
Causes the creation of new extended profiles to use user template as the template for the account default values. Causes the con-
version for -b to consider only accounts with template as the associated account template.
-U uid Causes newly-crated extended profiles with UID values less than uid to be written to the /tcb/files directory tree (v4 only).
-H Cause an extended usage message to be given and no other processing to be performed.
DESCRIPTION
The convuser utility is used to provide migration between BASE and ENHANCED security levels, as well as to provide support for the use of
existing account-creation scripts. The most common uses are to clean up dangling extended profiles (those without corresponding BASE pro-
files) after the removal of the base profiles, and to create new extended profiles to correspond to newly added base profiles.
EXAMPLES
To remove dangling profiles:
# convuser -d
# convuser -Md To finish the addition of new accounts on a system using NIS to supply the extended profile information:
# convuser -iu
# convuser -Miu To finish the addition of new accounts on a system using NIS to supply the extended profile information:
# convuser -iun
RELATED INFORMATION
Files:
prpasswd(4), authcap(4)
Security delim off
convuser(8)