CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Change OF filename rules (https://www.cfd-online.com/Forums/openfoam/178289-change-filename-rules.html)

gned October 4, 2016 05:55

Change OF filename rules
 
dear Foamers,
I'm quite out of space in my ssd disk of my laptop by now. So I would often have the need to try/run/visualize some cases on an external USB I have, but which unfortunately is recognized as TOSHIBA EXT by the system, with a whitespace in the name! For more convenience, there is someone who, modifying just the needed some files as fileName.H or resorting to other (linux) tricks, could make somehow OF digest also these names strings with whitespaces without errors of the type "fileName::stripInvalid() called for invalid fileName /var/run/media/cfd/TOSHIBAEXT/propeller/..."?
Any suggestion?

nsf October 5, 2016 16:16

Hi,

Wouldn't a symbolic link work?

E.g. from your home dir:
Code:

ln -s "/mnt/your long/drive/with space in the name" ./extdriveNoSpace
Best regards
Nicolas


All times are GMT -4. The time now is 19:00.