Are the same file Linux CP?

Are the same file Linux CP?
Answer
In general, this attempts to copy B, not its contents, into A. Since B is already a subdirectory of A, cp is rightly saying that the source and destination are the same file. If A is your current working directory, then this works instead: cp -ar B/* .
 

Tìm kiếm

Back
Top