【发布时间】:2018-09-04 03:26:19
【问题描述】:
复制多个文件时出错。以下命令仅复制第一个文件并为其余文件提供错误。谁能帮帮我。
命令:
scp $host:$(ssh -n $host "find /incoming -mmin -120 -name 2018*") /incoming/
结果:
user@host:~/scripts/OTA$ scp $host:$(ssh -n $host "find /incoming -mmin -120 -name 2018*") /incoming/
Password:
Password:
2018084session_event 100% |**********************************************************************************************************| 9765 KB 00:00
cp: cannot access /incoming/2018084session_event_log.195-10.45.40.9
cp: cannot access /incoming/2018084session_event_log.195-10.45.40.9_2_3
【问题讨论】: