I'm making a simple script to start up my minecraft server manager in a screen session, wait for it to boot, then kill the actual server. That part works, but the change directory command keeps throwing an error:
: No such file or directoryt.sh: line 1: cd: /Users/xxxx/Documents/McMyAdmin
The directory is real, and the same cd command copied into a terminal window works just fine. Any ideas? For reference, I'm on OSX 10.6.
screen -AmdS minecraft mono McMyAdmin.exe
screen -S minecraft -X stuff $'stop\n'