code: def rmdir(remote_folder, missing_okay):
      
      # Delete the provided file/directory on the board.
      board_files = files.Files(_board)
      board_files.rmdir(remote_folder, missing_okay=missing_okay)
docs: Forcefully remove a folder and all its children from the board.
  
      Remove the specified folder from the board's filesystem.  Must specify one
      argument which is the path to the folder to delete.  This will delete the
      directory and ALL of its children recursively, use with caution!
  
      For example to delete everything under /adafruit_library from the root of a
      board run:
  
        ampy --port /board/serial/port rmdir adafruit_library