我正在复制文件全体到新的 NAS 并在日志中出现此错误:
cp: readynas/libraries/Television/Clerks/Season 1/0ALX48~X.M4V: No such file or directory
尝试直接复制文件会显示文件名的一些有趣的东西,这实际上是一个选项卡吗?
Clerks/Season 1$ cp 01x05\ -\ \ Dante\ and\ Randal\ and\ Jay\ and\ Silent\ Bob\ and\ a\ Bunch\ of\ New\ Characters\ and\ Lando\,\ Take\ Part\ in\ a\ Whole\ Bunch\ of\ Movie\ Parodies.m4v ~/Desktop/
cp: cannot stat '01x05 - '$'\t''Dante and Randal and Jay and Silent Bob and a Bunch of New Characters and Lando, Take Part in a Whole Bunch of Movie Parodies.m4v': No such file or directory
列表也会抛出错误
Clerks/Season 1$ ls -al
ls: '01x05 - '$'\t''Dante and Randal and Jay and Silent Bob and a Bunch of New Characters and Lando, Take Part in a Whole Bunch of Movie Parodies.m4v': No such file or directory
total 939264
drwxrwxr-x+ 2 matthew users 0 Jan 19 07:05 .
drwxrwxr-x+ 3 matthew users 0 May 6 2018 ..
-rwxrwxr-x 1 matthew users 185548662 May 5 2018 '01x05 - '$'\t''Dante and Randal and Jay and Silent Bob and a Bunch of New Characters and Lando, Take Part in a Whole Bunch of Movie Parodies.m4v'
-rwxrwxr-x+ 1 matthew users 156186223 May 5 2018 s01e01.mp4
-rwxrwxr-x+ 1 matthew users 158159531 May 5 2018 s01e02.mp4
-rwxrwxr-x+ 1 matthew users 155609221 May 5 2018 s01e03.mp4
-rwxrwxr-x+ 1 matthew users 163277414 May 5 2018 s01e04.mp4
-rwxrwxr-x+ 1 matthew users 142775050 May 5 2018 s01e06.mp4
尝试更改文件名的mv
失败情况略有不同:
Clerks/Season 1$ mv 01x05\ -\ \ Dante\ and\ Randal\ and\ Jay\ and\ Silent\ Bob\ and\ a\ Bunch\ of\ New\ Characters\ and\ Lando\,\ Take\ Part\ in\ a\ Whole\ Bunch\ of\ Movie\ Parodies.m4v 15.m4v
mv: cannot stat '01x05 - '$'\t''Dante and Randal and Jay and Silent Bob and a Bunch of New Characters and Lando, Take Part in a Whole Bunch of Movie Parodies.m4v': No such file or directory
该文件可能注定会失败,希望有人知道如何保存它。
答案1
后续:似乎是通过 smbv1 挂载的问题,能够 ssh 到原始 NAS 并成功运行 mv 命令。
顺便说一句,ReadyNAS 系列和 Netgear 通常对我来说完全不受欢迎。