Move a file
Apache 2.0Move a file to a different directory. The file name will remain the same.
org. openrewrite. MoveFileRequired
Either a relative or absolute path. If relative, it is relative to the current file's directory.
Optional
When using the folder option, all files / subfolders in the folder will be moved to the moveTo source path. Folder should be starting at root
Matching files will be moved. This is a glob expression.
mod run . --recipe= org. openrewrite. MoveFile \
-P moveTo=.. / yamls/Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.