LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 812|回复: 2

cp命令的d参数是什么意思?

[复制链接]
发表于 2007-2-16 20:49:41 | 显示全部楼层 |阅读模式
- d 拷贝时保留链接。

上面是网上找的解释,自己用了之后,没看出来什么效果,不知道这个到底是什么意思呢?

偶的系统是FC6
发表于 2007-2-16 21:00:21 | 显示全部楼层

  1.        -d     same as --no-dereference --preserve=link

  2.        --preserve[=ATTR_LIST]
  3.               preserve   the   specified   attributes   (default:  mode,owner-
  4.               ship,timestamps) and security contexts, if  possible  additional
  5.               attributes: links, all
复制代码
回复 支持 反对

使用道具 举报

发表于 2007-2-16 21:34:55 | 显示全部楼层
就是保留链接的意思阿。。分硬链接和符号链接。。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表