What is hard delete and soft delete in Nexus3

Hello Together,

Can someone help me to understand what is hard delete and soft delete in nexus, since I am bit confuse

if I delete something from Nexus3 GUI I can still see blob count as same, and when I run clean up task then only it gets reflected.

also
wanted to know we have one shell script which gives us blobstore name, bucket repo name and sha value from .properties file, is there any way we can delete multiple at once without login to GUI.

Please help to understand above two scenario

Regards,
SAM

Soft delete leaves the blob until the compact task runs.

Hard delete removes it immediately, obviously in this case they are not recoverable and on some filesystems deleting files can be slow.

https://help.sonatype.com/repomanager3/repository-management/storage-guide