KHB: A Filesystems reading list
KHB: A Filesystems reading list
Posted Aug 24, 2006 2:12 UTC (Thu) by wookey (guest, #5501)In reply to: KHB: A Filesystems reading list by nlucas
Parent article: KHB: A Filesystems reading list
growisofs meets your command line criteria, I think.
growisofs -M /dev/dvd files
will add files to a disk (CD or DVD).
Posted Aug 24, 2006 7:36 UTC (Thu)
by drag (guest, #31333)
[Link]
My favorite backup technic for my own home directory is to use growisofs with splitpipe.
Splitpipe is a nice utility that splits files just like 'split' does, but it performs a action on each section it makes.
Check it out:
It'll burn a DVD until it gets finished, pause, prompt you for you to press enter so you can have time to pop in a new DVD and off you go.
Then they have a 'joinpipe' command for rebuilding the data.
Supports md5sum'ng the data and makes sure you don't accidently try to join the data back together in the wrong order and such.
Of course if you have a file that is less then 4 megs you could just go:
cat filenmae |growisofs -Z /dev/dvd -
And I think that should work out fine. Then you should be able to 'cat /dev/dvd > whatnot' to get it back.
Haven't tried it personally like that, but I expect it to work fine.
Posted Aug 24, 2006 21:57 UTC (Thu)
by nlucas (guest, #33793)
[Link]
Thanks for the heads-up. I'm an happier man now :-)
growisofs even supports pipes...KHB: A Filesystems reading list
tar c /home | splitpipe -s dvd -o 'growisofs -Z /dev/dvd=/dev/stdin'
I'm almost certain I had read the growisofs manual page some moons ago, but somehow missed that command.KHB: A Filesystems reading list