Shell Commands/OFArc

From MorphOS Library

< Shell Commands

OFArc - Extracts and creates .gz, .lha, .tar, .tgz, .zip, and .zoo files

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

Usage: OFArc -[acCfhlnpqtvx] archive.zip [file1 file2 ...]
Options:
    -a  --append            Append to archive
        --archive-comment=  Archive comment to use when creating or appending
    -c  --create            Create archive
    -C  --directory=        Extract into the specified directory
    -E  --encoding=         The encoding (character set) used by the archive
                            (only Tar, LHA and Zoo files)
    -f  --force             Force / overwrite files
    -h  --help              Show this help
        --iri               Use an IRI to access the archive
    -l  --list              List all files in the archive
    -n  --no-clobber        Never overwrite files
    -p  --print             Print one or more files from the archive
    -q  --quiet             Quiet mode (no output, except errors)
    -t  --type=             Archive type (gz, lha, tar, tgz, zip, zoo)
    -v  --verbose           Verbose output for file list
    -x  --extract           Extract files
        --version           Print the version information