in reply to problem in checking if directory exists
You can check with -e $dir if it exists, and remove it with unlink if it's an ordinary file.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: problem in checking if directory exists
by denzil_cactus (Sexton) on Mar 31, 2008 at 09:04 UTC | |
by moritz (Cardinal) on Mar 31, 2008 at 09:17 UTC | |
by denzil_cactus (Sexton) on Mar 31, 2008 at 13:18 UTC |