@filelist = &your_search_script_result(); for (@filelist) { unlink ($_) }
----- Original Message ----- From: "A Taylor" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, May 16, 2002 12:43 AM Subject: How do I delete a file > I have written a script that searches through a directory and finds files > that are no longer needed - these files are actually image files - .jpg or > ..gif extensions. > But how do I actually delete the unused files ????? > Any help would be greatly appreciated > > Thanks in advance > > Anadi > > PS: And loads of thanks for your help in the past !!!!! > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. > > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]