HP3000-L Archives

April 1997, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Michael Anderson <[log in to unmask]>
Reply To:
Michael Anderson <[log in to unmask]>
Date:
Thu, 17 Apr 1997 06:33:17 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (132 lines)
Stigers, Gregory - ANDOVER wrote:
>
> Um, OK. So, what do I do once I have MASTEROP.LZW. Do I need a MOVER
> version other than what I have, or an LZW?


LZW is the correct answer.

Here is a list of the switches you can use. Get this list by running LZW with
no parms.


*----------------------------------[snip]
LZW: (C) 1991, 1996 - Telamon, Inc. - Version A.03.31 [A.02.04] (Dec  3 1996)
Command line (INFO string) arguments
   -f [file]     Specify archive file name, default is "lzwfile"
   -verbose      Verbose mode, detailed progress messages
   -q[uiet]      Quiet mode, no progress messages
   -qq|-silent   Silent mode, no messages at all
   -old          Access older format archives
Store file(s) to archive (also -store, -append, -update)
   -s [fileset]  Store file(s) to archive, prompt if fileset not specified
   -a [fileset]  Append file(s) to archive, prompt if fileset not specified
   -u [fileset]  Update file(s) in archive, prompt if fileset not specified
                   Fileset is list of file names separated by spaces
                   or a wildcard pattern, which includes "@", "#" and "?".
                   ^file or !file specifies indirect file, wildcards allowed
   -m [n]        Set maximum compression code bits, 9-16, default 14
                   LZW286PC.EXE and LZWV can decompress max of 12 bits
   -trim|-x      Trim archive file limit to EOF, no subsequent appends
   -transport    Sets "-m 12" and "-trim" for use on small memory machines
Restore file(s) from archive (also -restore)
   -r [fileset]  Restore file(s) from archive, prompt if fileset not
specified
                   Fileset is list of file names separated by spaces
                   or a wildcard pattern, which includes "@", "#" and "?".
                   ^file or !file specifies indirect file, no wildcards
allowed
                   A file name followed by =newname is restored with new name
   -b[atch]      Batch restore all files in archive
   -c[reate]     Create group/account if necessary (:RESTORE;CREATE)
   -k[eep]       Don't restore if file exists (:RESTORE;KEEP)
   -l[ocal]      Restore into logon group (:RESTORE;LOCAL)
   -group [.]grp Restore changing all files' groups (:RESTORE;GROUP=)
   -acct [.]acct Restore changing all files' accounts (:RESTORE;ACCT=)
Search file(s) in archive (also -search)
   -t [string]   Search string(80 chars max), prompt if not specified
   -r [fileset]  Search file(s) in archive, prompt if fileset not specified
                   Fileset is list of file names separated by spaces
                   or a wildcard pattern, which includes "@", "#" and "?".
                   ^file or !file specifies indirect file, no wildcards
allowed
   -b[atch]      Batch search all files in archive
Purge file(s) from archive (also -purge)
   -p [file [file]...]
                 Purge file(s) from archive, prompt if fileset not specified
                   Fileset is list of file names separated by spaces
                   ^file or !file specifies indirect file, no wildcards
allowed
   -b[atch]      Batch purge all specified files from archive
Verify file(s) in archive
   -v[erify]     File equation format
   -V|-listf     LISTF,1 format
Convert archive to REC=256,8,F,BINARY;CODE=665 format
   -convert file Reformat '-f' archive into 'file'

For the Restore, Search and Purge options, specifying -restore, -search or
  -purge, respectively, along with an archive fileset will cause the -b or
  -batch option to be required for batch operations.  Specifying -r, -t or
  -p, respectively, will instead default to batch operation and not prompt
  for user action on each matched file.
shell/iX>
shell/iX>
----------------------------------[SNIP]

Here is an example to list the content of a LZW compressed file like
"MASTEROP.LZW" I have removed the "LZW" extension from my copy, but the file
is still in LZW format.


*----------------------------------[SNIP]
shell/iX>
shell/iX> LZW -f MASTEROP -V

LZW: (C) 1991, 1996 - Telamon, Inc. - Version A.03.31 [A.02.04] (Dec  3 1996)
Validate (LISTF)
Use archive file: MASTEROP
ACCOUNT=  KEMP        GROUP=  A

FILENAME  CODE  ------------LOGICAL RECORD-----------
                  SIZE  TYP        EOF      LIMIT R/B

README            764B  VA          94          5   1 (-m 11) 96/01/07
16:16:25


ACCOUNT=  KEMP        GROUP=  CMD

FILENAME  CODE  ------------LOGICAL RECORD-----------
                  SIZE  TYP        EOF      LIMIT R/B

COPYFILE           80B  FA           5          5  64 (-m  9) 96/01/07
16:16:25
COPYSET            80B  FA           6          6  16 (-m  9) 96/01/07
16:16:25

*----------------------------------[SNIP due to bandwith] many more files
exist in masterop.

I Think what you need to do is:

shell/iX>
shell/iX> LZW -f MASTEROP -rc
shell/iX>

The "-r" switch means to restore (Unpack or Unzip) ;-)

The "-c" switch means to CREATE all necessary account structure, just like
the create option on the MPE RESTORE command.

Once all the files are created in the "KEMP" account I think you need to
stream some job that will set the account, group, and user capabilities and
access matrix. I'm not sure what job, if any, because I haven't had time to
get that far into it. I have been spending all my time on SAMBA lately.


Cheers,

Michael Anderson,
Systems Programmer
TIW Corporation.

ATOM RSS1 RSS2