From bf009c27ccd8efece7b42983903ddf81e23851d7 Mon Sep 17 00:00:00 2001 From: jack1142 <6032823+jack1142@users.noreply.github.com> Date: Fri, 21 May 2021 13:29:18 +0200 Subject: [PATCH] mv: add move multiple source paths to a directory example (#6004) --- pages/common/mv.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pages/common/mv.md b/pages/common/mv.md index 7496f38cc..8ddd2174f 100644 --- a/pages/common/mv.md +++ b/pages/common/mv.md @@ -3,10 +3,14 @@ > Move or rename files and directories. > More information: . -- Move files in arbitrary locations: +- Move a file to an arbitrary location: `mv {{source}} {{target}}` +- Move files into another directory, keeping the filenames: + +`mv {{source1}} {{source2}} {{source3}} {{target_directory}}` + - Do not prompt for confirmation before overwriting existing files: `mv -f {{source}} {{target}}`