fyleIdentifier: Find Files in a Directory

Description Usage Arguments

View source: R/fyleIdentifier.R

Description

Enhanced version of list.files() that allows you to exclude files containing specific strings.

Enhanced version of list.files() that allows you to exclude files containing specific strings.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
fyleIdentifier(
  fyle_location = ".",
  fyle_extension = NULL,
  fyle_exclusions = NULL,
  list_recursive = TRUE,
  list_full_names = TRUE
)

fyleIdentifier(
  fyle_location = ".",
  fyle_extension = NULL,
  fyle_exclusions = NULL,
  list_recursive = TRUE,
  list_full_names = TRUE
)

Arguments

fyle_location

Location of directory to search. Will default to search recursively. Required.

fyle_extension

The extension(s) you want to search for, e.g. c("txt", "R") will send files that end in .txt or .R

fyle_exclusions

Files with this string anywhere in the file name or location will not be sent. Optional.

list_recursive

Set to FALSE if you do not want to search through children of fyle_location. Generally keep TRUE.

list_full_names

List the full names of the location. Generally keep TRUE


harryahlas/fysan documentation built on Dec. 20, 2021, 2:51 p.m.