cp- r is meant to copy files recursively, and cp -R for copying directories recursively. But I've checked, and both appear to copy both files and directories, the same thing. So, what's the difference actually?
|
|
While On Linux, in the GNU and BusyBox implementations of On the other side, as you can read in the POSIX manual page of
|
||||
|
|
Lowercase Uppercase Many implementations do still maintain this distinction, but some (including the GNU version typical to Linux) only provide the |
||||
|
|
|
The difference is that one uses a lowercase "R" and the other uses a capital "R". Beyond that, no difference. Same thing if you use the |
|||||||||||||||
|