Advertisement
Guest User

Untitled

a guest
May 25th, 2021
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.42 KB | None | 0 0
  1. #!/bin/sh
  2. # Extract soundpost links from filenames in current and children directories
  3. # and download them to `catbox` folder.
  4. # One filename can contain multiple links btw.
  5. find . -type f -name '*[sound=*' \
  6.     | sed -E "s/(\[sound=|])/\n/g" \
  7.     | grep files.catbox \
  8.     | sed -E -e "s/(^|https%3A%2F%2F)/https:\/\//gi" -e "s/%2F/\//gi" \
  9.     | sort -u \
  10.     | wget -i - -P catbox -nc -c --random-wait --wait=10
  11.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement