• 移动文件:mv /mnt/test.log /home
  • 移动目录:mv -f /mnt/test /home

      【带-f参数如目的已存在同名文件,则直接覆盖掉】

  • 文件改名:mv /mnt/test /mnt/yj
  • 移动多个文件夹:mv  test1  test2  test3  /home/yj

     【会把test1\test2\test3三个文件夹移至yj目录下】

相关文章:

  • 2021-08-21
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-15
  • 2022-12-23
  • 2018-10-30
  • 2021-12-07
猜你喜欢
  • 2021-12-17
  • 2022-12-23
  • 2022-12-23
  • 2022-01-01
  • 2021-05-26
  • 2021-09-02
  • 2022-12-23
相关资源
相似解决方案