I want to list all files from my directory that include
20180601
20180602
20180603
20180604
20180605
that means, all files from these 5 Days. For every day, 24 files exist. Her one example for a file name: 01-sstessa4de_20180601-030000.tsv
For reading all files from my directory, I applied:
temp <- list.files(pattern="*\\.tsv$")
But how can I select data for just 5 days? Is there any solution with
grep
?