powered by
Copy files to destination and rename with date and a tag as desired.
fc(..., des = "", tag = "", td = TRUE)
A logical vector indicating if the operation succeeded for each of the files.
<chr> A vector of file paths of the source files to copy and rename.
<chr>
<chr> Destination folder. "." to rename files at the current location.
<chr> Tag to the filename.
<lgl> TRUE to add today (yymmdd) to the filename.
<lgl>
TRUE
if (FALSE) { # Copy a file to home directory tmp = tempdir() fc("f1.R","f2.R",des=tmp) }
Run the code above in your browser using DataLab