mic*_*ael 18 linux
你能告诉我如何在 linux 中使用软链接来 tar ball/压缩目录层次结构吗?
谢谢你。
Ign*_*ams 14
GNU tar 通常在它生成的 tarball 中包含符号链接。如果您希望它包含符号链接指向的文件,则在创建 tarball 时传递它-h/ --dereference。
-h
--dereference
slu*_*man 8
当与标准参数一起使用时tar xvf,软链接将作为软链接保存在 tar 存档中。那么有两种情况:
tar xvf
如果你想压缩文件而不是符号链接,你可以使用-h / --dereference参数。
-h / --dereference
归档时间:
15 年,9 月 前
查看次数:
36292 次
最近记录:
4 年,5 月 前