Gab*_*qos 0 linux tar
我有一个名为 的 tar 存档backup.tar。我想将一个名为 的文件添加sshd.conf到此tar存档中。
backup.tar
sshd.conf
tar
小智 5
从man tar:
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
应该能解决问题
归档时间:
6 年,3 月 前
查看次数:
3084 次
最近记录:
6 年,2 月 前