std:file:rename transform step
This file transform step does not perform any file processing, just renames files in the file transform pipeline’s file list.
You should probably use rename()
and transformPreviousOutput()
instead.
Transform specification
property rename
An array of [“from”, “to”] arrays specifying the renames.
Renames are performed in a single atomic step, so this specification will swap file-a
and file-b
.
{ rename: [ ["file-a", "file-b"], ["file-b", "file-a"] ] }