Dear Freesurfers,
Not sure if my question is at the right place here but I'll give it a try. I have a memory disk with white spaces in the name: Seagate Expansion Drive. There is no simple way to rename the disk on my Linux machine.
In Unix shell scripting problems with finding the directory can be prevented by putting the whole name in quotation marks, e.g., f1=”Seagate Expansion Drive” and then after that calling f1 with quotation marks (e.g., cp “$f1”/file.xxx /destination/ ).
However, if I want to use bbregister then it does not recognize the quotation marks. For example, behind the flag --reg /”$f1”/fsreg.dat Freesurfer tells me that it does not recognize “Expansion” as a flag (probably because it still reads the white space in the name). I was wondering if there is any simple solution around or if the only option seems to try to rename the disk.
Best,
Ruthger