Difference between revisions of "Shell Commands/LhA"

From MorphOS Library

< Shell Commands

(Created page with "'''LhA''' - Compresses or uncompresses files/dirs non-standard arguments, type "LhA" for more information...")
 
(MorphOS LhA specifics)
Line 5: Line 5:
 
This command uses non-standard arguments.                                       
 
This command uses non-standard arguments.                                       
 
Type 'LhA' in a Shell for a complete documentation of its arguments.
 
Type 'LhA' in a Shell for a complete documentation of its arguments.
 +
 +
= MorphOS specific extensions and options =
 +
MorphOS LhA includes various improvements over the traditional LhA command.
 +
 +
== Preserving directory attributes on extract ==
 +
 +
Non-MorphOS LhA versions don't support restoring the directory attributes (such as comments, date stamps and protection bits) on extract. MorphOS LhA does support restoring these attributes via -Qx option.
 +
 +
== Archives larger than 2 GiB ==
 +
 +
MorphOS LhA supports both creating and extracting archives larger than 2 GiB. Naturally when creating such a large archive the file system holding the resulting archive [[Filesystems|must support large files]] or the operation will fail. When working with very large archives or files you likely want to set the temporary directory location to a [[Filesystems|file system with support for large files]] as well (use for example -wWork:temp to set the directory to Work:temp).
 +
 +
== Files larger than 2 GiB ==
 +
 +
MorphOS LhA support compressing and extracting files larger than 2 GiB. When extracting such large files the target file system [[Filesystems|must support large files]] or the operation will fail. When working with very large files you likely want to set the temporary directory location to a [[Filesystems|file system with support for large files]] as well (use for example -wWork:temp to set the directory to Work:temp).

Revision as of 00:46, 21 April 2021

LhA - Compresses or uncompresses files/dirs

non-standard arguments, type "LhA" for more information

This command uses non-standard arguments. Type 'LhA' in a Shell for a complete documentation of its arguments.

MorphOS specific extensions and options

MorphOS LhA includes various improvements over the traditional LhA command.

Preserving directory attributes on extract

Non-MorphOS LhA versions don't support restoring the directory attributes (such as comments, date stamps and protection bits) on extract. MorphOS LhA does support restoring these attributes via -Qx option.

Archives larger than 2 GiB

MorphOS LhA supports both creating and extracting archives larger than 2 GiB. Naturally when creating such a large archive the file system holding the resulting archive must support large files or the operation will fail. When working with very large archives or files you likely want to set the temporary directory location to a file system with support for large files as well (use for example -wWork:temp to set the directory to Work:temp).

Files larger than 2 GiB

MorphOS LhA support compressing and extracting files larger than 2 GiB. When extracting such large files the target file system must support large files or the operation will fail. When working with very large files you likely want to set the temporary directory location to a file system with support for large files as well (use for example -wWork:temp to set the directory to Work:temp).