I have a folder which contains around 400 .pdf files, each .pdf file is 2 pages total.
All .pdf file names are under the following format:
148-c16631-27-02-2018.pdf
What I would like is to merge under one pdf file, the pdf files that have a certain code in the file name in R. For instance:
148-c16631-27-02-2018.pdf
148-c14369-27-02-2018.pdf
148-c101593-27-02-2018.pdf
These have the code 148 which is unique, to be merged into 1 pdf file with 8 pages.
Thank you in advance for any input.
staplrpackage. - hrbrmstr