To delete files, use unlink - just as you would in the Unix terminal:

e.g
[mag-17 scripts]$ perl -e ' unlink "foo.bar" '
this deletes the file foo.bar.

A.



On Wednesday, May 15, 2002, at 04:43 PM, A Taylor wrote:

> 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]

Reply via email to