powered by
Rename multiple files in a directory and write renamed files back to directory
rename_files(input_directory = NULL, new_names)
the path of the input PDF files. The default is set to NULL. IF NULL, it prompt the user to select the folder interactively.
a vector of names for the output files.
this function writes renamed files back to directory
https://www.pdflabs.com/tools/pdftk-the-pdf-toolkit/
# NOT RUN { #if the directory contains 3 PDF files rename_files(new_names = paste("file",1:3)) # }
Run the code above in your browser using DataLab