locate_drives: Locate main folders (drives) with certain file types or name...

View source: R/locate_drives.R

locate_drivesR Documentation

Locate main folders (drives) with certain file types or name patterns

Description

Locate main folders (drives) with certain file types or name patterns

Usage

locate_drives(path = NULL, extensions = NULL, patterns = NULL, ...)

Arguments

path

folder from which start the search. By default, it explores all possible folders from the highest (root in linux, My computer in windows)

extensions

vector with all file extensions, no point required, to search for. By default, all extensions searched.

patterns

vector with all file names patterns to search. By default, no pattern specified

...

extra parameters to pass to function fs::dir_ls

Value

tibble with paths to the highest folders (drives) of the type specified


pep1024/locatefile documentation built on Feb. 21, 2023, 7:07 a.m.