'Empty a given directory path contents.'

def erase_dir_contents(self, path, ignore_status=True, timeout=3600):

    rm_cmd = 'find    "%s"    -mindepth    1    -maxdepth    1    -print0    |    xargs    -0    rm    -rf'
    self.run((rm_cmd % path), ignore_status=ignore_status, timeout=timeout)
    self._removed_files = True
