Pergunta

I would like to change the file octave-workspace from my home directory, simply renaming it to .octave_workspace. How can I manage to make octave recognize a workspace file (or create a new one) with this new name?

Thanks.

Foi útil?

Solução

That is the purpose of the octave_core_file_name() function.

Add the following to your .octaverc file:

octave_core_file_name (".octave-workspace")

Outras dicas

OSX Solution:

You can use chflags

To hide a file from Finder:

chflags hidden /Path/To/File

To unhide:

chflags nohidden /Path/To/File

Linux Solution:

From what I'm reading here, you can create a "hidden" files file, which contains a list of files to hide. I haven't read it fully, nor did I test it, as I don't use Linux.

http://www.fandigital.com/2012/09/better-way-to-hide-file-folder-in.html

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top