TOOL: import-md5-list STATUS Anzeige #24

Open
opened 2019-05-11 17:45:15 +00:00 by 6543 · 1 comment
Owner

db_start=$(db_query "select count(id) from File;")

db_start = 0

db_now=$(db_query "select count(id) from File;")

db_now = 14193

md5=$(nl ~/git/own/LOG_Movies/md5/data_shares_Filme | tail -n1 | cut -f1 | tr -d ' ')

md5 = 26351

echo $(((db_now-db_start)*100/md5))%

53%

z.B.

> db_start=$(db_query "select count(id) from File;") db_start = 0 > db_now=$(db_query "select count(id) from File;") db_now = 14193 > md5=$(nl ~/git/own/LOG_Movies/md5/data_shares_Filme | tail -n1 | cut -f1 | tr -d ' ') md5 = 26351 > echo $(((db_now-db_start)*100/md5))% 53% > > z.B.
Author
Owner

while [ true ]; do

sleep 10s

db_now=$(db_query "select count(id) from File;")

echo $(((db_now-db_start)*100/md5))%

done

> while [ true ]; do > sleep 10s > db_now=$(db_query "select count(id) from File;") > echo $(((db_now-db_start)*100/md5))% > done
6543 added the
Tools
label 2019-05-11 17:47:15 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: 6543/TerabyteTerminator#24
No description provided.