You can use loop to copy the file to multiple directories, I found a shell script which does the same:
m=10
for (( i = 0; i < 100; i++ )); do
sh hdfs_cp_script partition$(($i*$m + 1)) & sh hdfs_cp_script partition$(($i*$m + 2) & ... & sh hdfs_cp_script partition$(($i*$m + 10))
done