|
|

楼主 |
发表于 2010-6-12 15:30:39
|
显示全部楼层
Post by meteo;2096227
下面是man cp的内容,任何时候你想要完整的拷贝,都应该用cp -a的
-a, --archive
same as -dR --preserve=all
-d same as --no-dereference --preserve=links
--preserve[=ATTR_LIST]
preserve the specified attributes (default: mode,ownership,time‐
stamps), if possible additional attributes: context, links,
xattr, all
-R, -r, --recursive
copy directories recursively 嗯,学习了。以后要是要多看manual。 |
|