
sleuth
Enthusiast
Dec 12, 2000, 12:42 AM
Post #2 of 2
(10123 views)
|
Re: How do I delete a directory?
[In reply to]
|
Can't Post
|
|
I couldn't find where that post is now, with the new change, but to delete a directory, you must first delete it's contents like so unlink "/home/data/public_html/directory/*"; Then use rmdir; remove directory. rmdir "/home/data/public_html/directory"; Sleuth
|