cp -p file1 dir2
-p same as --preserve=mode,ownership,timestamps
连同文件的属性预期复制过去,而非使用默认属性;(备份常用)
cp -u file1 file2
copy only when the SOURCE file is newer than the destination file or when the destination file is missing
linux学习之cp
最新推荐文章于 2024-06-06 18:30:00 发布