Skip to content

Instantly share code, notes, and snippets.

@iRhonin
Last active February 5, 2019 08:26
Show Gist options
  • Save iRhonin/125e9559569f521a1415771d384c68cd to your computer and use it in GitHub Desktop.
Save iRhonin/125e9559569f521a1415771d384c68cd to your computer and use it in GitHub Desktop.
Download from file contains list of urls
echo "function download_from_file() {
while IFS='' read -r line || [[ -n \$line ]];
do axel \$line \${@:2}
done < \$1
}" >> ~/.bashrc
source ~/.bashrc
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment