Initial remote commit
This commit is contained in:
8
test/batch_restore.sh
Normal file
8
test/batch_restore.sh
Normal file
@@ -0,0 +1,8 @@
|
||||
while read inum rest; do
|
||||
python3 restore_meta.py ${inum} /mnt/recovered/apr29/${inum}/ &
|
||||
while (( $(jobs -r | wc -l) >= 10 )); do
|
||||
wait -n 2>/dev/null || sleep 0.2
|
||||
done
|
||||
done < true_roots.txt
|
||||
wait
|
||||
echo "All done"
|
||||
Reference in New Issue
Block a user