如何使用Putty移动文件? (mv:缺少目标文件操作数)

时间:2016-12-07 11:29:02

标签: unix putty

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

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

发生了什么事?

1 个答案:

答案 0 :(得分:2)

看起来中间有换行符/空格。运行此

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/