albibacsi

artinvoice daily spams

Jul 11th, 2018
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. set -o nounset
  4. set -o errexit
  5. set -o pipefail
  6.  
  7. SPAM_BASE_URL="http://artinvoice.hu/spams"
  8.  
  9. for year in {2008..2018}; do
  10. for month in {01..12}; do
  11. for day in {01..31}; do
  12. f="spam--${year}-${month}-${day}.gz"
  13. wget "${SPAM_BASE_URL}/${f}"
  14. echo $f
  15. done
  16. done
  17. done
Advertisement
Add Comment
Please, Sign In to add comment