bup-cat-file - 提取存档内容(低级)
bup cat-file [--meta|--bupm] <path>
bup cat-file 从存档中提取与 path 关联的内容并将其转储到标准输出。如果没有特殊要求,path 包含的实际数据(必须是常规文件)将被转储。
检索与路径关联的元数据条目。请注意,目前这不会返回存档中相关 .bupm 中记录的条目的原始字节,而是返回解码后重新编码的版本。当这很重要时,应该可以(尽管很尴尬)在父目录上使用 --bupm,然后在输出中找到相关条目。
检索与 path 关联的 .bupm 文件,该文件必须是目录。
# Retrieve the content of somefile.
$ bup cat-file /foo/latest/somefile > somefile-content
# Examine the metadata associated with something.
$ bup cat-file --meta /foo/latest/something | bup meta -tvvf -
# Examine the metadata for somedir, including the items it contains.
$ bup cat-file --bupm /foo/latest/somedir | bup meta -tvvf -bup-join(1), bup-meta(1)
bup(1) 套件的一部分。
罗布·布朗宁