在tar
命令的手册页中,列出了跟踪硬链接的选项。
-h, --dereference
follow symlinks; archive and dump the files they point to
--hard-dereference
follow hard links; archive and dump the files they refer to
Run Code Online (Sandbox Code Playgroud)
如何tar
知道文件是硬链接?它是如何遵循的?
如果我不选择这个选项怎么办?它是如何不硬解引用?