What I want to achieve is this:
1) Script should examine every file in the directory (and it's children) and get the filesize of that file.
2) Add the filesize to a total filesize.
3) Stop at 650MB total and write the list of files examined to a file. That ilst needs to be fed to tar to create an archive of those files.
4) If there are more files in the path to do, continue the 3 steps above and save a 2nd, 3rd, 4th, etc file of filenames, until the path has been thoroughly examined.
I'm using bash. How do I start?
PLEASE, tell me if I need to correct my thinking before I begin. Thanks!