All Questions
Tagged with mac-os-x files-and-directories
9 questions
2
votes
1
answer
62
views
Reading the unique numbers (Catalog Node IDs or CNIDs) that MacOS uses to identify files and directories?
The MacOS uses unique numbers (Catalog Node IDs, aka CNIDs) to identify files and directories.
Is there any way to obtain (read) CNIDs from within Mathematica?
5
votes
1
answer
298
views
How to run wolfram code from the finder in macos?
I'd like to run wolfram code (probably a .wls script) on a file or set of files by selecting them in the finder and using Right-click > Services.
For example, ...
4
votes
0
answers
227
views
Why is listing files on a network share so slow? / How to speed it up?
I'm using I need to load data in some files on a windows network share (samba), mounted on OSX. When listing the relevant directory in a shell, the performance is acceptable:
...
1
vote
0
answers
70
views
How to read a file when it's pathname contains a Macintosh alias?
On a Macintosh: assume a file "F1" is in a directory "D1" in the current NotebookDirectory, and a file "F2" is in a directory "D2" somewhere else, and an alias "A2" to D2 is in the current ...
7
votes
4
answers
2k
views
Cannot find BaseDirectory or UserBaseDirectory in Mac OS El Capitan
I am new to Mac OS, so this might be a silly question, but....
I just searched for $BaseDirectory and $UserBaseDirectory in my ...
4
votes
2
answers
688
views
How do I set Mathematica to open a specific folder - When I type "Command + O" in OS X
When I type Command+O, in Mac OSX 10, Mathematica automatically opens my directory: "Users/john"
How can I change this setting to make it open ...
1
vote
0
answers
57
views
Default starting location of "Save as..." dialog in OS X [duplicate]
In the answer to this previous question, user Szabolcs says
On OS X (I'm using 10.9 and Mathematica 9) the file chooser dialogue will remember the last location you used.
So if you Save/Open ...
4
votes
2
answers
280
views
How to read from /dev/random?
I am looking to read a few bytes from /dev/random on OS X and Linux. The simplest approach fails on both operating systems (see below).
Why? What is a workaround?...
9
votes
1
answer
433
views
Drag & drop path info into front end?
On OSX at least, it's possible to quickly retrieve a folder/file path by dragging & dropping the folder/file into the terminal, eg:
Is it possible to program Mathematica's front end enable ...