It seems to me that you might simply want to evaluate the size of the file using stat or the -s file test operator, then conditionally mv the file based on the return from that.
In reply to Re: perlish way to 'tail -100 $logfile'
by ptum
in thread perlish way to 'tail -100 $logfile'
by gri6507
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |