thanks to all who replied down to this
# perl -e "print unlink glob '/usr/local/billmax/html/images/day-0020a6-5a9bfc*';"
1 but in script my $oldimage = "/usr/local/billmax/html/images/day-0020a6-5a9bfc*"; my $files = unlink glob $oldimage; fails -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>