system.ls: Run ls command
Description
Runs ls command on system. This is a workaround since list.files can not match patterns based on subdirectory structure.
Usage
system.ls(pattern = "", directory = "", error = FALSE)
Arguments
directory
base directory command should be run from
error
logical indicating whether to throw an error if no matching founds found. Defaults to False.
Value
paths returned by ls command