find_paths_for_keyword: Searching For Keyword

View source: R/userFunctions.R

find_paths_for_keywordR Documentation

Searching For Keyword

Description

Finds all files that contain a specific string, in this case for finding files that contain a specific year. Default is to also look in symlinks for files, if a dir is not accessable will return an warning to the user

Usage

find_paths_for_keyword(path = "~/", keyword)

Arguments

path

Where you would like the function to look.

keyword

The word that you are trying to find in file names.

Value

Vector with all paths for each item found with the keyword contained in it.


Bott-binc/magnetoPackage2020 documentation built on Oct. 12, 2024, 7:49 p.m.