Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

I think the title says it all. How to create a iso image from a folder or single files via terminal commands? Currently i am doing this via Braseros GUI, but i want to do it with a shell script.

share|improve this question
    
man genisoimage says it all as well. –  poige Sep 15 '13 at 19:17

1 Answer 1

up vote 5 down vote accepted

Seems to be pretty straightforward to do with genisoimage, in the package with the same name on Debian:

genisoimage -o output_image.iso directory_name

There are many options to cover different cases, so you should check the man page to see what fits your particular use case.

See also

share|improve this answer
    
I have googled my question, but i haven't found an answer mentioning genisoimage. Thanks for the quick answer! –  klingt.net Sep 15 '13 at 19:43
1  
@klingt.net In my case, I knew there was such a command but couldn't remember its name. So I did apropos iso, found genisoimage then used the search terms "generate iso with genisoimage". –  Joseph R. Sep 15 '13 at 19:46
    
apropos is another command that i can't remember :) –  klingt.net Sep 15 '13 at 20:08
    
@klingt.net It seems that it behooves you to remember aprops and forget a few other commands :) –  Joseph R. Sep 15 '13 at 20:13
2  
under unix apropros is a synonym for man -k. The latter being a little easier to remember/spell ;) –  Drav Sloan Sep 15 '13 at 21:37

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.