LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-06-2013, 09:24 AM   #1
sryzdn
Member
 
Registered: Feb 2013
Posts: 248

Rep: Reputation: 1
how to burn files into a DVD from command line?


Hi,

My system is not directing me to the GUI gnome 3 in fedora 18.

I need to make a back up of my home directories from the commandline. Any one can give me the commands to burn all file to a DVD?
 
Old 06-06-2013, 09:27 AM   #2
frieza
Senior Member
 
Registered: Feb 2002
Location: harvard, il
Distribution: Ubuntu 11.4,DD-WRT micro plus ssh,lfs-6.6,Fedora 15,Fedora 16
Posts: 3,200

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
hmm i can tell you the commands are mkisofs and cdrecord, though i forget the specifics of how to use them.
 
Old 06-06-2013, 10:28 AM   #3
teckk
Senior Member
 
Registered: Oct 2004
Distribution: FreeBSD Arch
Posts: 1,825

Rep: Reputation: 221Reputation: 221Reputation: 221
Do a search on CLI burning. This has been answered many times on LQ.
Here are some examples

Make .iso from multiple directories
Code:
genisoimage -J -r -pad -graft-points dir1/=/path/files dir2/=/path/files dir3/=/path/files > filename.iso
Make .iso from directory
Code:
mkisofs -R -J /path/to/files -o /path/to/output.iso
Burn .iso to DVD
Code:
growisofs -dvd-compat -speed=8  -use-the-force-luke=tty -Z /dev/sr0=/path/file.iso
Burn DVD from files
Code:
growisofs -use-the-force-luke=tty -Z /dev/sr0 -J -r -speed=8 -dvd-compat -pad -graft-points /path/file1.avi /path/file2.avi /path/file3.avi
Burn .iso to CD
Code:
wodim speed=8 -tao dev=/dev/sr0 /path/file.iso
Burn files to CD
Code:
mkisofs -J -r -pad -graft-points /path/file /path/file | cdrecord dev=1,1,0 speed=8 -
Code:
genisoimage -J -r -pad -graft-points /path/file /path/file | cdrecord dev=1,1,0 speed=8 -
Write audio CD
Code:
cdrecord -v dev=/dev/sr0 speed=8 -audio -pad *.wav
You can also write a DVD-CD with dd
 
1 members found this post helpful.
Old 06-06-2013, 10:50 AM   #4
sryzdn
Member
 
Registered: Feb 2013
Posts: 248

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by frieza View Post
hmm i can tell you the commands are mkisofs and cdrecord, though i forget the specifics of how to use them.
Thanks, just searched them(mkisofs and cdrecord and growisofs) in the net and could successfully backup
 
Old 06-06-2013, 12:21 PM   #5
13stein.j
Member
 
Registered: May 2013
Location: Brooklyn, New York
Distribution: Linux Mint 15/Ubuntu 13.10/Debian 7/SUSE 11.x/openSUSE 12.3/RHEL 6.4/Fedora 18/Slackware, and 5 more
Posts: 111

Rep: Reputation: 6
Technically, if it is an img file, iso, or something similar, you can use the dd command like so,
Code:
dd if=path to image of=/dev/cdrom or wherever the destination is

Last edited by 13stein.j; 06-06-2013 at 12:22 PM. Reason: misinformation
 
Old 06-06-2013, 01:11 PM   #6
linuxCode
Member
 
Registered: Jun 2013
Location: New York City
Distribution: Arch
Posts: 33

Rep: Reputation: 43
Great examples teckk

I want to add that that the dev address has to be adjusted for cdrecord as it may differ per system.

Code:
cdrecord --scanbus

Last edited by linuxCode; 06-06-2013 at 01:58 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to burn Data (file) with command line (at terminal) to DVD rewrite thuan1975 Linux - Newbie 4 05-17-2010 06:53 AM
How to burn a cd in the command line mloberg Linux - Software 1 08-31-2008 11:50 PM
Can burn from command line, but not K3B TravisOSF Slackware 1 03-18-2005 02:44 AM
Can somebody like share me to write files to DVD disc in command line? exper Linux - Software 3 08-11-2004 08:58 PM
how to burn audio cd from command line rip Linux - Software 2 05-15-2003 12:56 AM


All times are GMT -5. The time now is 06:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration