>>
これはかなり理論的な質問ですが、既存のアーカイブに簡単に追加したり、複数のアーカイブをリンクしたりできる(あいまいではない)増分アーカイブ形式はありますかcat
?
archive file1 file2 > backup
archive file3 file4 >> backup
cat first.archive second.archive > full.archive
私の初期の考えはでしたcpio
。ただし、TRAILER!!!
最初のアーカイブの末尾に特殊マークを使用するため、2つのCPIOアーカイブが接続されている場合、2番目のアーカイブは決して読み取られません。いくつかのオプションが欠けていない限り?
ベストアンサー1
男性アスファルト:
-A, --catenate, --concatenate
Append archive to the end of another archive. The arguments are
treated as the names of archives to append. All archives must
be of the same format as the archive they are appended to, oth‐
erwise the resulting archive might be unusable with non-GNU
implementations of tar. Notice also that when more than one ar‐
chive is given, the members from archives other than the first
one will be accessible in the resulting archive only if using
the -i (--ignore-zeros) option.
Compressed archives cannot be concatenated.