Re: Shell scripting questions

2003-03-17 Thread Giorgos Keramidas
On 2003-03-17 14:38, Tom Parquette <[EMAIL PROTECTED]> wrote: > I've been looking through some basic shell books, and some online > resources, that I have but I'm not finding the answer. > Or maybe I just don't recognize the answer when I see it... > > I'm building a schell script that will backup

Re: Shell scripting questions

2003-03-17 Thread Edmond Baroud
On Mon, 17 Mar 2003 15:09:47 -0500 Edmond Baroud <[EMAIL PROTECTED]> wrote: > On Mon, 17 Mar 2003 14:38:01 -0500 > Tom Parquette <[EMAIL PROTECTED]> wrote: > > > I've been looking through some basic shell books, and some online > > resources, that I have but I'm not finding the answer. > > Or ma

Re: Shell scripting questions

2003-03-17 Thread Edmond Baroud
On Mon, 17 Mar 2003 14:38:01 -0500 Tom Parquette <[EMAIL PROTECTED]> wrote: > I've been looking through some basic shell books, and some online > resources, that I have but I'm not finding the answer. > Or maybe I just don't recognize the answer when I see it... > > I'm building a schell script

Re: Shell scripting questions

2003-03-17 Thread Rus Foster
On Mon, 17 Mar 2003, Tom Parquette wrote: > The closest I can come to determining the size of the output file from > tar (e.g.ad0s1a.tgz) is: file_size=`du -k /tmp/ad0s1a.tgz`. You can get just the first coloumn of something by doing something like du -k /tmp/ad0s1a.tgz | awk '{ print $1 }'. T

Shell scripting questions

2003-03-17 Thread Tom Parquette
I've been looking through some basic shell books, and some online resources, that I have but I'm not finding the answer. Or maybe I just don't recognize the answer when I see it... I'm building a schell script that will backup my systems to CD-ROM. Or DVD when I can talk my wife into a burner.