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