Blog Archives

Shell Function – Remove directory

Remove directory and its subdirectories or sub files.

shell_exec(“rm -rf <<directory_to_remove>>”);

where
<<directory_to_remove>> – Directory to remove

Follow

Get every new post delivered to your Inbox.