unzipZipfileParallel: Unzip a zip file either at just the top level or recursively...

View source: R/unzipZipfileParallel.R

unzipZipfileParallelR Documentation

Unzip a zip file either at just the top level or recursively through the file

Description

Unzip a zip file either at just the top level or recursively through the file

Usage

unzipZipfileParallel(
  zippath,
  outpath = substr(zippath, 1, nchar(zippath) - 4),
  level = "all",
  nCores = 1
)

Arguments

zippath

The filepath of the input file

outpath

The name of the folder to save unpacked files to

level

Whether the unzipping should occur only for the 'top' zip file, or unzip 'all' recursively, or only files 'in' the folder specified

nCores

Number of cores to use for parallelization

Author(s)

Christine Laney claney@battelleecology.org Claire Lunch clunch@battelleecology.org

References

License: GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 19 November 2007


neonUtilities documentation built on April 15, 2022, 1:06 a.m.