Hi
Ok I'm being lazy, but I'm after a script that can produce an ls displayed in Mb, I know the below wont work, but it'll give you an idea of what I'm after
a=`ls -sl | awk '{print $1}'`
b=`ls -al | awk '{print $10}'`
c=`expr "$1" / 1024`
print $c $b
you get the general idea...
--
| Mike Nixon
| Unix Admin
| ----------------------------
Ok I'm being lazy, but I'm after a script that can produce an ls displayed in Mb, I know the below wont work, but it'll give you an idea of what I'm after
a=`ls -sl | awk '{print $1}'`
b=`ls -al | awk '{print $10}'`
c=`expr "$1" / 1024`
print $c $b
you get the general idea...
--
| Mike Nixon
| Unix Admin
| ----------------------------