cp Target is not a directory

Posted 林散

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了cp Target is not a directory相关的知识,希望对你有一定的参考价值。

"Target is not a directory" is a cp error. It happens when you have three or more arguments, and the last argument is an existing filesystem object that isn't a directory!

Of course

cp a b

works if b is a regular file, and not a directory. b is simply replaced with a. But

cp a b c

means make a copy of a and b inside directory c.

以上是关于cp Target is not a directory的主要内容,如果未能解决你的问题,请参考以下文章