Renames a file safely
Renames a file safely by also asserting that it was correctly renamed without side effects.
## S3 method for class 'default': renameFile(pathname, newPathname, overwrite=FALSE, ..., verbose=FALSE)
TRUEif the file was successfully renamed. If it failed, an exception is thrown.
When you want to renames a file (or a directory) atomically/safely, by also asserting that it was successfully renamed without side effectsI use Batch Rename Files Tool. You can easily found hier BatchRenameFiles.org