Created
June 20, 2018 17:19
-
-
Save bkj/612f9dc24e9560f948135b9a468ef6db to your computer and use it in GitHub Desktop.
aria.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
cat urls | shuf > tmp | |
cat tmp | paste - tmp | sed 's@\thttp://@\n\tout=dest/@' > aria-urls | |
cat aria-urls | aria2c -j8 --deferred-input --auto-file-renaming=false -i - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment