[shell] making a directory within applications?
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?
Thanks!
Update:
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: https://cycling74.com/forums/spacing-backslashes-and-shell
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).
Ben