Skip to content

Commit de413e6

Browse files
generate BIG 559GB duplicated testfile
1 parent 751949d commit de413e6

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
#!/bin/bash
2+
echo "loop 20 times to generate 560GB data duplicated"
3+
cp test_schema_mock.txt test_schema_mock.txt.BIG
4+
5+
for ((i=1;i<=20;i++));
6+
do
7+
cp test_schema_mock.txt.BIG dup
8+
cat dup >> test_schema_mock.txt.BIG
9+
done
10+
rm -rf dup

0 commit comments

Comments
 (0)