in reply to Re: Need help deleting *.bak files
in thread Need help deleting *.bak files

That's not recursive like the OP's code. It also limits the ability to report errors when you pass more than one file name to unlink.