Create an empty 500m file ( linux )

# truncate –s 500m 500mb.file

Copy a file 10 times in a row via a loop.

for X in {1..10}
do
scp -p -r 500m.file myhost:/tmp
done