Skip to content

mv

FunctionMove or rename pages. Two arguments: move if <dst> exists, otherwise rename (change the title). Three or more: mv src1 src2 … dest moves each source under the existing destination.
OptionsNone
LimitationsSame space only. Spaces cannot be moved. No glob / wildcards. On rename, <dst> must not contain /. If some sources fail, successful moves are kept.
$ mv oldTitle newTitle
$ mv ./page ./otherParent
$ mv pageA pageB destParent

If one source fails, Shell reports it and keeps the successful moves.