Hi,
I use cpio to backup my SCO Openserver 5.07 server. After the backup is complete it runs a verify command:
cpio -ictv -I/dev/rStp0
Now the previous sysadmin would write the number of blocks that this verify command would display into a book. I would like to automate the collection of this.
Is there a way to collect the "blocks" that is displayed on the console to a file? If I just redirect the output of the above command I, of course, just get a file with a listing of all the files without the total blocks count.
Any help would be greatly appreciated.
regards,
S.
I use cpio to backup my SCO Openserver 5.07 server. After the backup is complete it runs a verify command:
cpio -ictv -I/dev/rStp0
Now the previous sysadmin would write the number of blocks that this verify command would display into a book. I would like to automate the collection of this.
Is there a way to collect the "blocks" that is displayed on the console to a file? If I just redirect the output of the above command I, of course, just get a file with a listing of all the files without the total blocks count.
Any help would be greatly appreciated.
regards,
S.