how to delete directory contents with bash script code example Example: delete a directory bash script rmdir dirname