⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mv.1

📁 操作系统设计与实现源码
💻 1
字号:


MV(1)                     Minix Programmer's Manual                      MV(1)


NAME
     mv - move or rename a file

SYNOPSIS
     mv [-ifsmvx] file1 file2
     mv [-ifsvx] file ... directory

OPTIONS

     -i   Prompt before removing existing files

     -f   Do not prompt before removing existing files

     -s   Do not clear any mode bits if owner can't be set

     -m   Merge directory trees

     -v   Tell what mv is doing

     -x   Do not cross device boundaries

EXAMPLES

     mv oldname newname  # Move oldname to newname

     mv file1 file2 /user/ast
                         # Move two files to /user/ast

DESCRIPTION

     Mv moves one or more files from one place in the file system to  another.
     If  the  old  path  and  new  path  are on the same device, it is done by
     renaming otherwise by copying. If you're not  superuser,  the  copy  will
     destroy  the  file's owner, group and setuid/setgid bits.  mv will prompt
     before removing non-writable files if stdin is a terminal or the -i  flag
     was specified.

SEE ALSO
     cp(1), rename(2).













                                                                             1

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -