[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dump a Directory to CD?



OK, I did it.  It took me 53 lines of code and all I do is set up 
directories so xcdroast can get at the data.  This is OK for my purposes 
since I have to load disks anyway.   It was worry some that cdrecord  might 
get in the way of supermount.  So I did not attempt the full automation.  I 
suspect that Rob will eventually do something like this for me.  He just 
has to feel the pain of keeping track of loading and unloading disks.

Tom Droege

At 12:13 PM 4/29/03 +0000, Tom Droege wrote:
>Rob and anyone else that wants to help,
>
>OK, I downloaded the file (dar) and looked at the man pages.  It looks 
>like it is designed to replace the files where it found them.  I.e. it is 
>a backup utility.  I want a storage utility.
>
>Note I quickly came upon a problem.  Mandrake makes good use of 
>supermount.  It works, and it also writes DOS compatible floppies.  So no 
>more fussing with disks to get them right.  But the first thing I read on 
>dar is "disable supermount".  I don't know how to do that, and would 
>surely mess up my system.
>
>I think some of you could write what I want in 10 or 20 lines of perl or 
>shell:
>
>0) prompt for CR when disk installed
>1) read 81 .fits files (any order) from the specified directory
>2) write them to cdrom
>3) eject disk
>Continue at 0) until directory is exhausted of files.
>
>OK, even I can do this.  But it will take me a couple of days as there 
>will be something that I have to read and learn.