GRASS logo

NAME

g.unzip - Unzip zip-files in a directory in parallel

KEYWORDS

general, zip, unzip, unpack

SYNOPSIS

g.unzip
g.unzip --help
g.unzip [-r] input=string [output=name] [nprocs=integer] [--help] [--verbose] [--quiet] [--ui]

Flags:

-r
Remove zip-file(s) after extraction
Remove zip-file(s) after extraction
--help
Print usage summary
--verbose
Verbose module output
--quiet
Quiet module output
--ui
Force launching GUI dialog

Parameters:

input=string [required]
Path to the input zip-file or directory with zip-files to extract
output=name
Path to the output directory to extract zip-files to
nprocs=integer
Number of threads for parallel computing
Default: 1

Table of contents

DESCRIPTION

g.unzip is a simple helper module to unzip all zip-files in a directory in parallel. The user can select an output directory, the number of parallel processes (nprocs) and to remove the extracted zip-file (r-flag).

EXAMPLES

g.unizip -r nprocs=5 input="./"

AUTHOR

Stefan Blumentrath

SOURCE CODE

Available at: g.unzip source code (history)

Accessed: Friday Oct 25 13:33:11 2024


Main index | General index | Topics index | Keywords index | Graphical index | Full index

© 2003-2024 GRASS Development Team, GRASS GIS 8.4.0 Reference Manual