File tree 4 files changed +14
-8
lines changed
4 files changed +14
-8
lines changed Original file line number Diff line number Diff line change @@ -5102,11 +5102,14 @@ <h2 id="options-52"><a class="header" href="#options-52">Options</a></h2>
5102
5102
</ dd >
5103
5103
</ dl >
5104
5104
< h2 id ="examples-49 "> < a class ="header " href ="#examples-49 "> Examples</ a > </ h2 >
5105
- < p > Move a file to an arbitrary location :</ p >
5105
+ < p > Rename a file or directory when the target is not an existing directory :</ p >
5106
5106
< pre > < code class ="language-shell "> mv {{source}} {{target}}
5107
5107
</ code > </ pre >
5108
- < p > Move files into another directory, keeping the filenames:</ p >
5109
- < pre > < code class ="language-shell "> mv {{source1}} {{source2}} {{source3}} {{target_directory}}
5108
+ < p > Move a file or directory into an existing directory:</ p >
5109
+ < pre > < code class ="language-shell "> mv {{source}} {{existing_directory}}
5110
+ </ code > </ pre >
5111
+ < p > Move multiple files into an existing directory, keeping the filenames unchanged:</ p >
5112
+ < pre > < code class ="language-shell "> mv {{source1}} {{source2}} {{source3}} {{existing_directory}}
5110
5113
</ code > </ pre >
5111
5114
< p > Do not prompt for confirmation before overwriting existing files:</ p >
5112
5115
< pre > < code class ="language-shell "> mv -f {{source}} {{target}}
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -243,11 +243,14 @@ <h2 id="options"><a class="header" href="#options">Options</a></h2>
243
243
</ dd >
244
244
</ dl >
245
245
< h2 id ="examples "> < a class ="header " href ="#examples "> Examples</ a > </ h2 >
246
- < p > Move a file to an arbitrary location :</ p >
246
+ < p > Rename a file or directory when the target is not an existing directory :</ p >
247
247
< pre > < code class ="language-shell "> mv {{source}} {{target}}
248
248
</ code > </ pre >
249
- < p > Move files into another directory, keeping the filenames:</ p >
250
- < pre > < code class ="language-shell "> mv {{source1}} {{source2}} {{source3}} {{target_directory}}
249
+ < p > Move a file or directory into an existing directory:</ p >
250
+ < pre > < code class ="language-shell "> mv {{source}} {{existing_directory}}
251
+ </ code > </ pre >
252
+ < p > Move multiple files into an existing directory, keeping the filenames unchanged:</ p >
253
+ < pre > < code class ="language-shell "> mv {{source1}} {{source2}} {{source3}} {{existing_directory}}
251
254
</ code > </ pre >
252
255
< p > Do not prompt for confirmation before overwriting existing files:</ p >
253
256
< pre > < code class ="language-shell "> mv -f {{source}} {{target}}
You can’t perform that action at this time.
0 commit comments