Archiving data
I am the new guy at my consulting company. Because of that I stuck with the exciting job of archiving data for one of our clients. The process of archiving data to dvd is currently a 12 step process. I would like to take some of the steps and have a script do the work for me.
I am using OS 10.3 and i know the default shell is bash which I have some scripting skills in. I need to script the process below.
Currently there are user docs in a folder called prep. In that folder there are sub folder with assorted names and sizes. I have to look at each folder and copy it to another folder that is 4G or less so it can be burned to DVD. Here is where the fun starts. If the folder is over 4G I have to split it up into how ever many folder it takes to get it on a DVD. I have to keep file names of the ones that are split across dvds and append the correct number to the end of the file. So if there are 4 dvds i have to put 1 of 4, 2 of4, etc ... on each dvd.
Can anyone help me with this. It's kinda hard to explain. If I could just script all the file that are 4G or less into there burn folder that would save me some time.
Last edited by packetsmacker; 09-28-2007 at 03:04 PM.
Reason: i didn't finish my post
|