TIP: Click on subject to list as thread! ANSI
echo: linux
to: Jeff Smith
from: Maurice Kinal
date: 2019-08-27 22:52:06
subject: Burning a DVD from the commandline?

Hallo Jeff!

 JS> Any easy way to burn a directory and any sub-directories to a DVD.

Yes.  Use growisofs from dvd+rw-tools which will automagically create an
iso from a directory and burn it to a DVD.

For example for multiple directories this should work;

  growisofs -J -R -Z /dev/dvd -speed=2 \
            -graft-points /directory1=/home/user/directory1 \
                          /directory2=/home/user/directory2

I don't believe there is any way to simply copy {,sub}directories to DVDs. 
For that you'll probably want to use USB flashdisks instead such as this;

  cp -a /home/user/directory1 /home/user/directory2 /mnt/usbflash

where /mnt/flashdisk is wherever you mounted a formatted USB flashdisk.

Het leven is goed,
Maurice

... Huil niet om mij, ik heb vi.
--- GNU bash, version 5.0.9(1)-release (x86_64-pc-linux-gnu)
* Origin: Little Mikey's EuroPoint - Ladysmith BC, Canada (2:280/464.113)
SEEN-BY: 103/705 154/10 203/0 221/0 1 6 242 360 229/426 240/5832 280/464 5003
SEEN-BY: 292/854 310/31 320/219 396/45 423/120 633/0 267 280 281 384 410 412
SEEN-BY: 633/509 640/1321 1384 712/848 770/1 2452/250 5020/545
@PATH: 280/464 221/1 640/1384 633/280 267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.