LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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, 11:33 AM   #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, 01:09 PM   #2
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1300Reputation: 1300Reputation: 1300Reputation: 1300Reputation: 1300Reputation: 1300Reputation: 1300Reputation: 1300Reputation: 1300Reputation: 1300
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 01: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 10:18 PM
too long directory tree slack66 Slackware 2 07-15-2006 11:08 PM
permissions for directory tree adamwenner Linux - Security 3 10-23-2004 07:39 AM
Help! How do you delete a directory tree? johnmcollier Linux - Security 0 10-24-2003 02:29 AM
Directory Tree Question GreatMilenko Linux - Security 3 06-02-2002 01:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 07:11 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
Open Source Consulting | Domain Registration