Comment 11 for bug 1349711

Revision history for this message
Chris J Arges (arges) wrote :

From IRC, an example of a testcase:

1) create around ~300GB of small files (sqlite files for example), put the files into a list sqlite-files.txt
2) Start the copy:
cat sqlite-files.txt | xargs -n1 -I{} -P2 sudo sh -c 'rm -f {}.new; cat {} > {}.new; echo {}'
3) When it hangs, identify where it hung as $NUM and resume with the following:
tail -n+$NUM | xargs -n1 -I{} -P2 sudo sh -c 'rm -f {}.new; cat {} > {}.new; echo {}'