0466名称未設定
2015/02/26(木) 12:19:50.60ID:mJocBN5w0AppleScriptスクリプトからzipファイルを作成したいのです。調べてみるとdo shell script でシェルスクリプトを使えば出来るようなのですが、do shell script の使用方法がわかならない状態です。]
シェルスクリプトで下記のシェルスクリプトを実行出来るのですが、
#!/bin/sh
zip text.zip -r ./x/
AppleScriptで
do shell script "zip text.zip -r ./x/"
を実行するとエラーがですます。
エラー内容
error " zip warning: name not matched: ./x/
zip error: Nothing to do! (try: zip -r text.zip . -i ./x/)" number 12