Cleaning up artifacts dir

Is it safe to delete all empty directories inside the artifacts dir?

I’ve recently started a new job and now i have to adminstrate a gitlab omnibus installation which didnt get a cleanup for 5 years. I already cleaned up millions of artifacts with the rake job and with the rails console (Jobs artifacts administration | GitLab) but there tons of empty dirs left. Is it safe to recursively search and delete all empty folders inside the artifacts dir?

Thanks guys!