Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个目录,其中包含许多文件和文件夹(有些是隐藏的)。我尝试了以下命令来创建 ISO: cd /path/of/content/dir/ && mkisofs -o /path/of/iso/file.iso * [在这种情况下,它会留下隐藏的目录]
&&
cd /path/of/content/dir/ && mkisofs -o /path/of/iso/file.iso ./{*,.[^.]*} [在这种情况下,ISO 正在以完全意想不到的结构构建]
请帮忙?
用您的 CD 标签和目录替换斜体部分,当然:
mkisofs -V LABEL -r DIRECTORY | gzip > cdrom.iso.gz
以下对我来说很好:
mkisofs -allow-leading-dots -o /tmp/test.iso ./