Advertisement
thanh_thu

10 milion object

Sep 4th, 2019
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.26 KB | None | 0 0
  1. dd if=/dev/urandom of=masterfile bs=1 count=10000000
  2. split -b 10 -a 10 masterfile
  3. find . -name xa\* >> path.txt
  4.  
  5. #!/bin/bash
  6. input="path.txt"
  7. while IFS= read -r line
  8. do
  9. s3cmd put "$line" s3://s3-Testbucket-1
  10. done < "$input"
  11.  
  12. # kiแปƒm tra wc -l path.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement