【问题标题】:How to move a file using Putty? (mv: missing destination file operand) [closed]如何使用 Putty 移动文件? (MV:缺少目标文件操作数)[关闭]
【发布时间】:2017-04-22 07:52:13
【问题描述】:

我正在尝试将服务器上的文件移动到另一个文件夹:

mv /opsw/Customer/TEST/@/Server/TEST.test.test.com/files/Administrator/C/Temp
/TEST_validateserver.htm /opsw/Customer/TEST/@/Server/TEST.test.test.com/files/Administrator/C/

我收到以下错误:

mv: missing destination file operand after `/opsw/Customer/TEST/@/Server/TEST.test.test.com/files/Administrator/C/Temp'
Try `mv --help' for more information.
bash: line 1: /TEST_validateserver.htm: No such file or directory

发生了什么事?

【问题讨论】:

  • 您不是在“使用 Putty”来移动文件,而是在使用 Putty 获取到远程计算机的控制台连接,在远程计算机上您正在运行一个 shell,您正在从该计算机上运行mv 命令。

标签: unix putty


【解决方案1】:

看起来中间有一个换行符/空格。运行这个

mv /opsw/Customer/TEST/@/Server/TEST.test.test.com/files/Administrator/C/Temp/TEST_validateserver.htm /opsw/Customer/TEST/@/Server/TEST.test.test.com/files/Administrator/C/

【讨论】:

    猜你喜欢
    • 2018-11-16
    • 2013-12-17
    • 2019-11-21
    • 2019-07-23
    • 1970-01-01
    • 2013-01-10
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多