in reply to Delete files if they match help!
Check the file is exist. if the file exists then process the unlink process
unlink $file_name if (-e $file_name && -f $file_name)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Delete files if they match help!
by afoken (Chancellor) on Jan 07, 2011 at 14:59 UTC |