Search Results

Search: Posts Made By: kpk_ds
9,289
Posted By Chubler_XL
Here is an awk script to split file into pieces <...
Here is an awk script to split file into pieces < MAX bytes without splitting lines:

awk \
-v MAX=1000000000 \
-v oname="${3}/TT_$2" \
-v digits=2 \
'
function suffix(val,ret) {
...
9,289
Posted By Chubler_XL
on AIX you could try something like the below...
on AIX you could try something like the below script.


cd /fol1/fol2
for file in *.dat
do
SIZE=$(istat "$file"| awk '/Length/ {print $(NF-1)}')
if [ $SIZE -gt 90000000000 ]
then
...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 07:38 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy