Hide octave-workspace file from home directory

后端 未结 2 512
不思量自难忘°
不思量自难忘° 2021-01-22 02:51

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 recog

相关标签:
2条回答
  • 2021-01-22 03:36

    That is the purpose of the octave_core_file_name() function.

    Add the following to your .octaverc file:

    octave_core_file_name (".octave-workspace")
    
    0 讨论(0)
  • 2021-01-22 03:40

    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

    0 讨论(0)
提交回复
热议问题