I have named my secondary SSD with a name with a space in it - "My SSD", and have been using it for many years with multimedia applications without any problem. Part of my media library with thousands of files is stored on "My SSD" and is indexed by these apps.
However, since I started learning programming, I have encountered problems with multiple command line tools that I use which are not escaping the spaces in paths correctly (should be /Volumes/My\ SSD/Projects
instead of /Volumes/My
with another argument SSD/Projects
).
Setting up a symbolic link doesn't solve this problem, because these applications still resolve the true path of the directory most of the time.
I have considered setting up a hardlink on a drive without a space in its name - "NoWhiteSpaceDrive", but there doesn't seem to be a tool available to do that.
Simply changing "My SSD" to "MySSD" is not a good solution for me because I would need to rescan the huge media library which will take hours to accomplish. Many other aspects and apps on my system are also tied with "My SSD", which may cause problems and I have to adjust them one by one...
Is there a way to set up a cross device hardlink or something similar?