Burn dvd from the command line

I recently had to back files from my Ubuntu-based NAS. I initially used xfburn, a medium-weight burning software. It does a pretty good job. However, I decided to burn via the command line to refrain from pointing and clicking. I found dvd+rw-tools. Some simple examples are found here; the full filename solution was found here. Suppose the dvd burner is /dev/sr0 (found from scanning through dmesg | less). Then I can burn files with:

 <pre class="src src-sh">growisofs -dvd-compat -input-charset=ISO-8859-1 -full-iso9660-filenames -Z /dev/sr0 -R -J -pad <span style="color: #ffa07a;">"/path/to/files"</span> <span style="color: #ff4500;">## </span><span style="color: #ff4500;">can use -dry-run</span>

eject /dev/sr0

About Vinh Nguyen

Statistician

2 comments

  1. Pingback: Super Nerdy Cool

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>