zip_info: List information on files in a ZIP archive

Description Usage Arguments Details Value Examples

View source: R/list.R

Description

zip_info() is similar to the unzip -l command. Compared to zip::zip_list(), the data frame is returned as a tibble when available and columns use human-readable classes like fs::dir_info().

zip_ls() returns only the names of the files in an archive, like fs::dir_ls().

Usage

1
2
3
zip_info(archive)

zip_ls(archive)

Arguments

archive

Path to an existing ZIP archive.

Details

USes the options(fs.use_tibble = FALSE) to disable tibble printing.

Value

A data.frame with 'fs' class columns.

Examples

1
2

kiernann/zippr documentation built on Feb. 17, 2021, 5:59 p.m.