• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

mv

mv

mv Moves files.
mv [-fi] <source>
									<target>

mv [-fi] <source1>
									<source2>
									<source3> ... <directory>
								

In the first form, mv renames <source> to the name provided by <target>. If <source> is a file, a file is renamed. Likewise, if <source> is a directory, a directory is renamed.
In the second form, mv moves the list enumerated by <source1> <source2> <source3> … to the directory named by <directory>.
-f Forces an existing file to be overwritten.
-i Invokes an interactive mode that prompts for a confirmation before overwriting an existing file.
The last of any -f or -i options determines the behavior of mv.



PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint