What is the correct way to delete incorrectly added dirs with \ in path name in RAW hosted repo type on Nexus-3 (v3.23.0-03)?
For example something\something\something uploaded by error with pasting paths by uploading components from old location. Dir just refuses to be deleted if using “Delete folder” in web interface.
First workaround I can’t really try as if backslahed dir is uploaded no files are actually stored in this dir. Or at least system does not show it. Also when trying to query it via REST query no assets are shown.
Second workaround with groovy script does not work with backslashed dirs it seems.
I had a folder with some \ characters in the name and wasn’t able to delete it until I uploaded a new file to that same path, this converted the “folder” into an “asset” which gave me a button to “Delete Asset”. This was with version 3.27.0-03
I had… root_dir/intermediate_dir/bad\ dir\ name
So I uploaded a new file named intermediate_dir to root_dir and then was able to delete the intermediate_dir asset.