From the documentation of unlink:
unlink will not delete directories unless you are superuser and the -U flag is supplied to Perl. Even if these conditions are met, be warned that unlinking a directory can inflict damage on your filesystem. Use rmdir instead.
"Income tax returns are the most imaginative fiction being written today." -- Herman Wouk
In reply to Re: Remove Directory
by NetWallah
in thread Remove Directory
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |