Can anyone suggest a script that will take as input the name of one or more directories and a media size, and output lists of files for input to tar using -T (assuming no compression)?
scdbackup/sdvdbackup sort of does this, but it's full of bloat that I don't need. So basically looking for something like this:
./splitTars file1 file2 .... 2.0T
where file can be a file or directory, and the last argument is the size of the media (e.g. 2TB). It should then output a file list for each tar archive and give a warning for files that are too big to fit on the media.
If nothing like this exists, one way to do it would be to create the list of files using find, re-arrange them in increasing or decreasing size, then start cutting the list up into pieces.

-Toption. This is used to take names of files from a file, and has nothing to do with media size. – enzotib Aug 12 '11 at 12:37