このサイトはJavaScriptを使用しています
ホーム
エクスプローラー
ヘルプ
サインイン
JustAnotherArchivist
/
little-things
ウォッチ
2
スター
0
フォーク
0
コード
課題
0
プルリクエスト
0
リリース
0
Wiki
アクティビティ
ソースを参照
Add ia-wait-item-tasks
master
JustAnotherArchivist
2年前
親
b440b35c2f
コミット
c9c8b7e1f7
1個のファイルの変更
、
13行の追加
、
0行の削除
分割表示
差分オプション
統計情報を表示
Patchファイルをダウンロード
Diffファイルをダウンロード
+13
-0
ia-wait-item-tasks
+ 13
- 0
ia-wait-item-tasks
ファイルの表示
@@ -0,0 +1,13 @@
#!/bin/bash
# Wait until an item has no outstanding tasks
# Usage: ia-wait-item-tasks IDENTIFIER
if [[ $# -ne 1 ]]
then
echo 'Usage: ia-wait-item-tasks IDENTIFIER'
exit 1
fi
while ia tasks "$1" | grep -Fvq ' "finished": '
do
sleep 60
done
書き込み
プレビュー
読み込み中…
キャンセル
保存