Cannot access folder

So I have a security camera set up to store files in a specific share, and I neglected to purge it often enough and I believe it has way too many fines as I cannot get a listing to show within windows or even via terminal on SSH. I have attempted to just rm -fr the location on SSH but it just sits there and the drive churns. Same thing via windows, select the folter and press delete and everything just hangs… What can I do to remove the colder and regain the storage space. I even tried removing the share via the browser ui and nothing…

Even rm -rf can take a long time. Try sending the command to the background

rm -rf &