I think I would do something like this:
while( my $file = getNextFilename() ) { my $size = -s $file; sleep 1; next if -s( $file ) != $size; ## Pick it up next time around. ## process complete files }
In reply to Re: Best way for testing the end of the filling of a Tar file before opening it.
by BrowserUk
in thread Best way for testing the end of the filling of a Tar file before opening it.
by dirac
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |