The demo shows that the folder contains only the install.php file:
mkdir demo cd demo echo "<?php unlink(__FILE__); rmdir(__DIR__); " > install.php php install.php cd .. ls
That ls no longer displays "demo dir".
Recursive deletion should not be difficult to determine if there are more (sub-) folders you want to delete.
edorian
source share