I want to list all files in a directory that met certain conditions (date and currency). So with only one condition the argument pattern in list.files
pattern
list.files
Here it is:
file.ls2 = intersect(list.files(pattern = "20130801"), list.files(pattern = "USD"))