1
SErHo Jan 4, 2013
man cp 中有讲解。就是对非目录文件的处理差别。
|
2
adeba Jan 4, 2013
在Linux,GNU和BusyBox的cp-r和-R的实现是相同的。
More reference: http://unix.stackexchange.com/questions/18712/difference-between-cp-r-and-cp-r-copy-command |
3
hewigovens Jan 4, 2013
推荐用-R, 能够正确处理符号链接等, -r是为了兼容之前版本而保留的. Historic versions of the cp utility had a -r option. This implementation supports that option; however, its use is strongly discouraged, as it does not correctly copy special files, symbolic links, or fifo's.
|
4
hewigovens Jan 4, 2013
忘记说了, 在mac下man的cp
|