can you make a symbolic link (ln -s) to the disk and then reference the symlink instead of the direct path?
On 10/30/14 10:33 AM, Righart, Ruthger wrote: > 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 > _______________________________________________ > Freesurfer mailing list > Freesurfer@nmr.mgh.harvard.edu > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer > > _______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.