Rename files found with pattern
by adding i
to their
name before the extension.
file_increment(
i,
verbose = FALSE,
pattern = "^[CcPRw][a-zA-Z]+\\.sso|summary\\.sso|\\.par$"
)
An integer value to append to the file name before the
.sso
extension.
A logical value specifying if output should be printed to the screen.
A character value specifying the file names to search
for in getwd()
.
Invisibly returns a vector of logical values specifying whether or not the file was successfully renamed.
The .par
file, which is the only file extension searched for
with the default entry that does not end in .sso
, is
modified differently._i.sso
is added to the file name.