in reply to remove backups
Hmmm...
Just some friendly critique
SMiTZ
Update: I Sir, am a plonker.
- You chomp $dirname - why?
- You define the scalar $dirname - why?
- You use a system call to rm, making it platform dependant. Why not use unlink?
- You empty the entire directory from which this is run - why not use rm * | del *.* | whatever?
Just some friendly critique
SMiTZ
Update: I Sir, am a plonker.
In Section
Craft