We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 713a5ab commit 460499eCopy full SHA for 460499e
share/github-backup-utils/track-progress
@@ -6,6 +6,6 @@ progress(){
6
PROGRESS=$(cat /tmp/track-progress)
7
PROGRESS_TYPE=$(cat /tmp/track-progress-type)
8
PROGRESS_PERCENT=$( echo "scale = 2; ($PROGRESS / $PROGRESS_TOTAL) * 100" | bc)
9
- echo "${PROGRESS_TYPE} progress: $PROGRESS_PERCENT % ($PROGRESS / $PROGRESS_TOTAL ) $1 " > /tmp/progress-info
+ echo "${PROGRESS_TYPE} progress: $PROGRESS_PERCENT % ($PROGRESS / $PROGRESS_TOTAL ) $1 " >> /tmp/progress-info
10
echo $((PROGRESS +1)) > /tmp/track-progress
11
}
0 commit comments