LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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 04-12-2008, 12:33 PM   #1
methodtwo
Member
 
Registered: May 2007
Posts: 146

Rep: Reputation: 18
burning whole directory tree to cdrom


Hi there,
How do i burn a directory as well as all it's subdirectories to a cdrom using cdrecord.Oh by the way i'm using ubuntu at the moment but i would like to know how to do it using cdrecord.I've tried:
sudo cdrecord dev=/dev/cdrom /direcotory
but that didn't work.I got: cdrecord:Is a directory. read error on input file.
Thankx in advance
 
Old 04-12-2008, 02:09 PM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285Reputation: 1285
Something like:

Code:
mkisofs -graft-points -rational-rock -full-iso9660-filenames -iso-level 2 $source | cdrecord -v gracetime=2 dev=$destin speed=$speed driveropts=burnfree -tao -
Not all of those options are needed, but that's the way I do it. Make a script for it, that's what I did.

Oh, and replace $source with the source path, $destin with the destination device node where the cd writer is at, and the $speed with the speed you want it to burn at.

Last edited by H_TeXMeX_H; 04-12-2008 at 02:11 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
Copying a single file into each directory of a directory tree mlapl1 Linux - Newbie 2 06-27-2007 11:18 PM
too long directory tree slack66 Slackware 2 07-16-2006 12:08 AM
permissions for directory tree adamwenner Linux - Security 3 10-23-2004 08:39 AM
Help! How do you delete a directory tree? johnmcollier Linux - Security 0 10-24-2003 03:29 AM
Directory Tree Question GreatMilenko Linux - Security 3 06-02-2002 02:48 PM


All times are GMT -5. The time now is 12:20 PM.

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