You are not logged in.

#1 2004-12-02 13:42:05

z4ziggy
Member
From: Israel
Registered: 2004-03-29
Posts: 573
Website

dumping 4gb to cdw

i would like to burn a 4gb directory and its sub-directories to a cd as-is using cdrecord, ie, with no compression or other tools. is there a way to do it in 1 bash line or a short script? the only way i could think is make a dummy 700mb file, mount it as a dir, move files into this virtual dir until its full, burn its contents, clear it, and move on to next segment of files... but maybe there is a better way?
tnx.

Offline

#2 2004-12-02 15:27:17

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,615
Website

Re: dumping 4gb to cdw

the way I always saw it done was to use a shell script to generate a list of files in the sub directory...ensuring that the total size was under a certain threshold. Then saving off that file list.
you can pass a file list to mkisofs, and it will generate the cd for you..
man mkisofs for more info on that utility..

Offhand, I don't know what is in the magical shell script.  :?


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

Board footer

Powered by FluxBB