TARに個々のファイルを追加する

TARに個々のファイルを追加する

というtarアーカイブがありますbackup.tarsshd.confこのtarアーカイブに名前付きファイルを追加したいと思います。

ベストアンサー1

からman tar

-r, --append
              Append files to the end of an archive.  Arguments have the same meaning as for -c (--create).

だからあなたに関する限り、

tar -rf backup.tar sshd.conf

問題を解決しなければならない

おすすめ記事