LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-26-2003, 03:11 PM   #1
jimmmac
Member
 
Registered: Oct 2002
Location: Florida
Distribution: RedHat
Posts: 109

Rep: Reputation: 15
Writing Single files to a CD


Hi everyone

Another question. I like scenic wallpapers on my desktop both at home and in work. I put them on CD-R's for backup. Question : How do you write single files to a CD-R? I use X-CD-Roast quite a bit, but couldn't figure out how to write single files to the disk. I also took a look at another program, webCD something or other and it was impossible to install. Thanks again for your help.

Jim Macdonald
 
Old 04-26-2003, 03:29 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
Saving wallpaper to CD-R

I have always used mkisofs and cdrecord from the command line to make CD-Rs. Once I find a routine task like backing up my latest wallpaper I set up a script to do the routine backup. Here is my wallpaper CD-R script:

---------------------------------------------------------------------------
# This command is a script for burning a wallpaper CD-R at 12x.
# First move all wallpaper files to /root/data/test/wallpaper

# record backup date
touch /root/data/test/wallpaper/cd.create.date

# Create a CD image file.
mkisofs -o /makeCD/cd.image -r \
-U \
-V Stites_CD-R \
/root/data/test/wallpaper

# Copy the CD image file to the blank CD-R.
cdrecord -data -eject speed=12 dev=0,0,0 /makeCD/cd.image

# Clean up
rm /makeCD/cd.image
---------------------------------------------------------------------------
 
Old 04-26-2003, 07:14 PM   #3
whansard
Senior Member
 
Registered: Dec 2002
Location: Mosquitoville
Distribution: RH 6.2, Gen2, Knoppix,arch, bodhi, studio, suse, mint
Posts: 3,185

Rep: Reputation: 52
there's a bunch of frontends for cdrom burning in linux.
i have arson cdbakeoven, xcdroast, k3b Kreate cd
gcombust, gnome-toaster, keasycd kisocd, simplecdrx,
and xmp3burn, at least, on this machine. You
may like simplecdrx. and you could make a multisession
disk, and for each file just add a session. most of the
software, when multisession is clicked, will ask if it is the
first session, or one inbetween. just click appropriately.
 
Old 04-27-2003, 11:25 AM   #4
jimmmac
Member
 
Registered: Oct 2002
Location: Florida
Distribution: RedHat
Posts: 109

Original Poster
Rep: Reputation: 15
Thanks for the response. I guess I am not too clear on the concept of how to do what I want to do. For instance, right now I have a Cd-R with a number of files on it, all .bmp's. I put the other files on them in Windows and set it as readable by any standard Cd-RW drive. I have not set it so that I can't write to it again. Now I have a new .bmp file to add to the current cd, Diamond Lake.bmp. I read the script and looked at the packages that are mentioned above. I am just not too sure how to use them to get my one file added to the others AND make it readable by other cd-rom drives. Thanks again for the help.
 
Old 04-27-2003, 01:05 PM   #5
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
A CD-R is write-once.

A CD-R can only be written to once in its lifetime. So everything that you want to put on a CD-R has to be written at the same time in the one and only write.

A CD-RW can be written to many times. But you cannot add new files to an existing CD-RW. (There is some experimental software to do so but I don't think that it is reliable yet.) So to add a file to a CD-RW you have to copy the entire CD-RW to a hard disk and then rewrite the CD-RW including the new file.
 
Old 04-27-2003, 01:55 PM   #6
Nukes
Member
 
Registered: Apr 2003
Location: Scotland UK
Distribution: Gentoo
Posts: 92

Rep: Reputation: 15
Not true, you can do a multi-session disk. Do the same, but add -multi to the cdrecord command, (maybe just include the NEW files in the ISO image) you will be able to write to it again and again and again and again.
 
Old 04-27-2003, 02:03 PM   #7
MasterC
LQ Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 64
There seems to be some confusion lately on this eh?

CDR = Write as many times UP TO THE FULL CAPACITY OF THE CD
CDRW = Write as many times UP TO THE FULL CAPACITY OF THE CD, then erase and start again.

You can use a CDR and CDRW for multi session recording, you can use a CDRW to erase and write again. A CDR can be written to multiple times until the full capacity is reached (multisession). The same for a CDRW, the difference being after the full capacity is reached (or before if you'd like) you can erase and start over.

HTH

Cool
 
Old 04-27-2003, 02:07 PM   #8
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
I stand corrected. I guess I did not notice when the experimental software became stable.
 
Old 04-27-2003, 04:33 PM   #9
jimmmac
Member
 
Registered: Oct 2002
Location: Florida
Distribution: RedHat
Posts: 109

Original Poster
Rep: Reputation: 15
Hi everyone

Thanks for all of your responses. My CD-R disk, called Pictures 3, is not full yet. I just add files, previously in Windows using Easy Cd Creator, as I have done with Pictures 1 and 2. Once I fill Pictures 3 up, I will get a new CD-R and create Pictures 4. What I don't know how to do is to add another file to not-full Pictures 3, like I do in Windows. I noticed the cdrecord -multi mentioned. I guess I would need to know how to add my file, 'Diamond Lake.bmp' to Pictures 3. If it is command line using cdrecord, I would need to know the command to do it. I guess I don't know how the -multi switch works and how to use it to add a single file.

If I do use cdrecord, I also understand there are very good front ends to it. What I do in Windows is make the Cd writeable, then drag and drop the file to the Cd. It would be really nice if there was a drag and drop - like front end for cdrecord.

I imagine X-Cd-Roast, which I am most familiar with, can do this. But I am not sure how. Any help towards my end would be very much appreciated. Thanks.
 
Old 04-27-2003, 04:52 PM   #10
Nukes
Member
 
Registered: Apr 2003
Location: Scotland UK
Distribution: Gentoo
Posts: 92

Rep: Reputation: 15
Quote:
I stand corrected. I guess I did not notice when the experimental software became stable
You've been able to do this since the first time I ever used a CDR drive (over 10 years ago) or probably longer. It wan't experimental software, it is detailed in the original standard from philips.
 
Old 04-27-2003, 04:57 PM   #11
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Jessie, Linux Mint 17
Posts: 7,750

Rep: Reputation: 271Reputation: 271Reputation: 271
Maybe so. But whatever CD software I was using two years ago would not do it . The documentation said that adding files to existing CDs was being developed but was too buggy to use. So I guess I was using immature software.
 
Old 04-27-2003, 05:20 PM   #12
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
That could refer to udf ... the way of using a
CD-RW as if it was a floppy (Aheads InCD,
to name an example from the dark side of
computing ;}) ...

Cheers,
Tink
 
  


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 Merge multiple files into a single PDF ? kkempter Linux - Software 1 10-28-2005 02:02 PM
How can I rename a lot of files with a single command? pujolasdf Linux - Software 4 07-20-2005 06:27 AM
How to Unzip 2 Zip files through one single command sumitarun Linux - Newbie 2 03-23-2005 09:00 AM
rename a group of files to a single extention Lleb_KCir Linux - General 9 02-20-2005 01:40 AM
Command to combine several files as a single file, etc. satimis *BSD 3 06-10-2004 04:59 AM


All times are GMT -5. The time now is 03:02 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