Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for May 16, 2013
A look at the PyPy 2.0 release
PostgreSQL 9.3 beta: Federated databases and more
LWN.net Weekly Edition for May 9, 2013
(Nearly) full tickless operation in 3.10
growisofs meets your command line criteria, I think.
growisofs -M /dev/dvd files
will add files to a disk (CD or DVD).
KHB: A Filesystems reading list
Posted Aug 24, 2006 7:36 UTC (Thu) by drag (subscriber, #31333)
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:
tar c /home | splitpipe -s dvd -o 'growisofs -Z /dev/dvd=/dev/stdin'
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 (subscriber, #33793)
Thanks for the heads-up. I'm an happier man now :-)
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds