Initial remote commit
This commit is contained in:
10
test/batch_recover_resume.sh
Normal file
10
test/batch_recover_resume.sh
Normal file
@@ -0,0 +1,10 @@
|
||||
while read inum rest; do
|
||||
dest="/mnt/recovered/apr29/${inum}"
|
||||
mkdir -p "${dest}"
|
||||
python3 dump_tree.py --skip-existing ${inum} "${dest}/" &
|
||||
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