Saturday, May 5, 2012

Making ISO file on Command Line

To make a ISO file on the command line is very simple.

bala@bala-lappi:~$ mkisofs -V PDF -J -R -o pdf.iso PDF/
I: -input-charset not specified, using utf-8 (detected in locale settings)
Total translation table size: 0
Total rockridge attributes bytes: 454
Total directory bytes: 670
Path table size(bytes): 10
Max brk space used 0
814 extents written (1 MB)

bala@bala-lappi:~$ ls -ltrh pdf.iso
-rw-r--r-- 1 bala bala 1.6M 2012-05-05 12:20 pdf.iso
bala@bala-lappi:~$ file pdf.iso
pdf.iso: # ISO 9660 CD-ROM filesystem data 'PDF                       

Now to record that to a disk on cmd link, -v for verbose    '
bala@bala-lappi:~$ cdrecord -v -eject pdf.iso

No comments:

Post a Comment