Rename a file
Apache 2.0Rename a file while keeping it in the same directory.
org. openrewrite. RenameFileRequired
Matching files will be renamed. This is a glob expression.
Just the file name without the folder path that precedes it.
mod run . --recipe= org. openrewrite. RenameFile \
-P fileMatcher= '**/ application-*. yml' \
-P fileName= application. ymlInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.