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)?
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
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.