开发者

Apple Script + Shell Script: How do I convert this shell script to apple script?

cd ~/Library/Application\ Support/minecraft/;

if [ -d 'rezcraft_bin' ]
    then
        echo "backing up sanguine, switching to rezcraft"
        mv 'bin' 'sa开发者_开发知识库nguine_bin';
        mv 'rezcraft_bin' 'bin';
    else
        echo "backing up rezcraft, switching to sanguine"
        mv 'bin' 'rezcraft_bin';
        mv 'sanguine_bin' 'bin';        
fi
exit

like, I maybe a tutorial will help, idk.


Simple: do shell script "echo Hello World"

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜