Rename file
ProprietaryRenames files matching a glob pattern to a new file name, preserving the directory.
org. openrewrite. angular. migration. rename-fileRequired
Glob pattern to match files (e.g., **/browserslist). Supports ** prefix to match in any directory.
The new file name (just the basename, e.g., .browserslistrc).
mod run . --recipe= org. openrewrite. angular. migration. rename-file \
-P fileMatcher= '**/ browserslist' \
-P fileName=. browserslistrcInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.