Zero Byte

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: HartA (Hoosbruin_at_Kconline.com)
Date: 02/17/04


Date: Tue, 17 Feb 2004 18:33:35 -0500


 Looking for help in writing a script that will check if a file is zero byte
and if so email someone. Then rename that zero byte file to

 filename.err

 Thanks.



Relevant Pages

  • Re: AIX 5.3 disaster recovery fro AIX newbie
    ... >are you in the server in maint mode? ... I know just because I cannot get in and examined the script it ran. ... one of the scripts smoked /etc/passwd file, to zero. ... If you are not the intended recipient ...
    (AIX-L)
  • Re: Why must I chomp a variable set in a script?
    ... If they are of zero size, ... it is supposed to trigger the email program to notify the users. ... have to "chomp" the variable to get this to work? ... like the value was supplied from the command line, it is set in the script. ...
    (perl.beginners)
  • Re: problem with a file processing script
    ... but I am far from a script writer, and I recently run into a little ... if the file I am looking for is zero ... the $NEWNUM it's because the extension the third party software is ... print that $EQFILE existed but was empty ...
    (comp.unix.shell)
  • Re: problem with a file processing script
    ... but I am far from a script writer, and I recently run into a little ... if the file I am looking for is zero ... the $NEWNUM it's because the extension the third party software is ... print that $EQFILE existed but was empty ...
    (comp.unix.shell)
  • Re: converting file to excel problem
    ... Shawn wrote: ... > We are using the below script to convert a file into excel format. ... > problem is that my file contains ssn in which they can start with zero. ...
    (comp.lang.perl.misc)