diff --git a/pages/common/mv.md b/pages/common/mv.md index 8ddd2174f..61c93721b 100644 --- a/pages/common/mv.md +++ b/pages/common/mv.md @@ -3,13 +3,17 @@ > Move or rename files and directories. > More information: . -- Move a file to an arbitrary location: +- Rename a file or directory when the target is not an existing directory: `mv {{source}} {{target}}` -- Move files into another directory, keeping the filenames: +- Move a file or directory into an existing directory: -`mv {{source1}} {{source2}} {{source3}} {{target_directory}}` +`mv {{source}} {{existing_directory}}` + +- Move multiple files into an existing directory, keeping the filenames unchanged: + +`mv {{source1}} {{source2}} {{source3}} {{existing_directory}}` - Do not prompt for confirmation before overwriting existing files: