Forums > MaxMSP

[shell] making a directory within applications?

Feb 23 2013 | 8:33 am

Hi all,

Although very novice at shell commands/scripts, I’m using the [shell] external to create a directory from within a standalone application using the mkdir command on OS X. This is working fine to create folders in MOST directories.

However, the standalone application I’m building is supposed to live in a user’s Application directory, and I don’t seem to be able to use the mkdir command work in this directory (I can’t get it to work in Terminal either).

Is this a permissions issue? Is there anyone with some knowledge of shell scripts that may know a work around?


Feb 23 2013 | 12:41 pm


I seem to have found a way to fix this… the issue was coming from my formatting of paths, and have used [conformpath] to fix this and all seems to be working fine. I also found a way to keep spaces in my file names… thanks to this thread:

Here is my working example that may be of use to others. The patch asks you to name a ‘session’. It then creates a folder of that name within the application directory.(/Applications/Max6 or the standalone directory).

-- Pasted Max Patch, click to expand. --


Viewing 2 posts - 1 through 2 (of 2 total)

Forums > MaxMSP