从存档中提取文件夹

有一个示例从当前位置的存档中提取文件夹:

tar -xf archive-name.tar

如果要将文件夹从存档中提取到特定目标:

tar -xf archive-name.tar -C ./directory/destination