vips
vips

Reputation: 362

create iso from dir having some hidden directories

I have a directory which is having many files and folders(some are hidden). I tried the below commands for creating ISO: cd /path/of/content/dir/ && mkisofs -o /path/of/iso/file.iso * [In this case it is leaving hidden dirs]

&&

cd /path/of/content/dir/ && mkisofs -o /path/of/iso/file.iso ./{*,.[^.]*} [In this case ISO is building with completely unexpected structure]

Please help?

Upvotes: 0

Views: 750

Answers (2)

Bacara
Bacara

Reputation: 7243

replace the italicized sections with your CD label and directory, of course:

mkisofs -V LABEL -r DIRECTORY | gzip > cdrom.iso.gz

Upvotes: 2

ebal
ebal

Reputation: 375

The below worked for me just fine:

mkisofs -allow-leading-dots -o /tmp/test.iso ./

Upvotes: 0

Related Questions