Created
October 17, 2022 09:55
-
-
Save farhadhp/7fb036c6dedf88c125ce91cd31fc5ef5 to your computer and use it in GitHub Desktop.
wget dl
This file contains 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
#!/usr/bin/env bash | |
file_url="FILE_URL" | |
file_name="fileName" | |
for i in 1 2 3 4; do | |
wget —limit-rate=5m -O $file_name $file_url | |
sudo rm -rfv $file_name | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment