Is there a way to look through a directory to see if any image files contain the id number and simply remove all images that contain the id number?if ($photo1 ne "") { {system("rm $photodir/$category_id_number/$photo1");} my @resize1 = split(/\./, $photo1); my $photo1t = $resize1[0] . "-T." . $resize1[1]; {system("rm $photodir/$category_id_number/$photo1t");} }
In reply to Removing Multiple Image Files by lisaw
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |