Shell Commands/XAD2LhA

From MorphOS Library

< Shell Commands

From the original xadmaster.library manual:

XAD2LhA - extracts data from other archives and stores it in an LhA archive

FROM/A, TO, PASSWORD/K, NE=NOEXTERN/S, QUIET/S, HEADER0/S

FROM     - specifies the file archive that should be handled.
TO       - is the name of destination lha file. When not specified, the source name extensions are stripped and .lha is added.
PASSWORD - can be used to supply a password for unarchiving of encrypted archives. This argument requires the keyword PASSWORD.
NOEXTERN - prohibits the use of external clients for recognition purposes.
HEADER0  - uses header level 0. This header is older and does not have special information.
QUIET    - option makes the program really silent.

Example:

 	Shell> xad2lha archive.tar
		Make an lha archive from tar archive.

	Shell> xad2lha archive.lha archive2.lha
		Recreate the lha archive.