| 1 |
cp-about = 复制源文件到目标,或多个源文件到文件夹。 |
| 2 |
cp-usage = |
| 3 |
cp [选项]... [-T] 源 目标 |
| 4 |
cp [选项]... 源... 文件夹 |
| 5 |
cp [选项]... -t 文件夹 源... |
| 6 |
cp-after-help = |
| 7 |
请勿复制一个已有目标(即目标非目录且已存在),且其修改时间戳与源文件相比是相同或更新的文件; |
| 8 |
而是静默跳过该文件,无需报错。如果正在保留时间戳,比较的标准是将源文件的时间戳截断到 |
| 9 |
目标文件系统和用来更新时间戳的系统调用所支持的精度; |
| 10 |
这样可以避免在多次执行相同的 cp -pu 源目标 命令时重复工作。如果同时指定了 -n 或 --no-clobber 选项, |
| 11 |
此选项会被忽略。 |
| 12 |
同时,如果还指定了 --preserve=links(如使用 cp -au),则该选项会优先生效; |
| 13 |
因此,根据从源读取文件的顺序,目标中新一些的文件可能会被替换,以便反映源中的硬链接关系。 |
| 14 |
这为控制目标目录中哪些已有文件被替换提供了更多的灵活性,其参数值可以为下列之一: |
| 15 |
|
| 16 |
- all 当未指定 --update 选项时,默认操作,目标中的所有已有文件都会被替换。 |
| 17 |
- none 类似于 --no-clobber 选项,目标中的文件不会被替换,但跳过文件也不会导致失败。 |
| 18 |
- older 当指定 --update 选项时的默认值,只有目标文件比对应的源文件旧时才会被替换。 |
| 19 |
cp-help-target-directory = 将所有源文件参数复制到目标目录 |
| 20 |
cp-help-interactive = 覆盖文件前询问 |
| 21 |
cp-help-link = 硬链接文件,而不是复制 |
| 22 |
cp-help-no-clobber = 不要覆盖已存在的文件 |
| 23 |
cp-help-debug = 说明如何复制文件,使用 -v |
| 24 |
cp-help-symbolic-link = 创建符号链接而不是复制 |
| 25 |
cp-help-one-file-system = 停留在当前文件系统内 |
| 26 |
cp-help-recursive = 递归复制目录 |
| 27 |
cp-error-same-file = { $source }和{ $dest }是同一个文件 |
| 28 |
cp-debug-skipped = 已跳过{ $path } |
| 29 |
cp-verbose-removed = 已删除{ $path } |
| 30 |
cp-debug-enum-no = 否 |
| 31 |
cp-debug-enum-yes = 是 |
| 32 |
cp-debug-enum-avoided = 已规避 |
| 33 |
cp-debug-enum-unsupported = 不支持 |
| 34 |
cp-error-not-a-directory = { $path }不是目录 |
| 35 |
cp-error-not-all-files-copied = 部分文件未复制 |
| 36 |
cp-error-reflink-always-sparse-auto = `--reflink=always` 只能与 --sparse=auto 一起使用 |
| 37 |
cp-error-file-exists = { $path }:文件已存在 |
| 38 |
cp-error-invalid-attribute = 无效的属性{ $value } |
| 39 |
cp-error-cannot-copy-directory-into-itself = 无法将目录{ $source }复制到其自身{ $dest }中 |
| 40 |
cp-error-not-replacing = 未替换{ $file } |
| 41 |
cp-error-failed-set-permissions = 无法设置{ $path }的权限 |
| 42 |
cp-error-cannot-stat = 无法获取 { $source } 的状态信息:文件或目录不存在 |