måndag 13 april 2015

Linux - Debian - HOWTO: ISO creation from terminal


Hi,
I was looking for this (for a BASH script I wanted to write), and I found out how to do it. Now I want to share it

1. Create ISO-file from folder
Code:
mkisofs -r -o /isofile.iso /folder
where /isofile.iso is the relative or absolute path to the iso-file you want to create and /folder the absolute or relative path to the folder you want to backup.

2. Create ISO-file from file(s)
Code:
mkisofs -r -o /isofile.iso /mybigfile
or if you want to backup multipi files (like you .mp3 collection):
Code:
mkisofs -r -o /isofile.iso *.mp3
3. Create ISO-file from a cd/dvd-drive
Code:
dd if=/dev/cdrom0 of=isofile.iso

Inga kommentarer: