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
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
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
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