Created
April 14, 2024 04:15
-
-
Save obsessedcake/40abb9bf99be3dba70852b5196a3b16a to your computer and use it in GitHub Desktop.
A bunch of simple bash functions to dowload links listed in files.
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
function dl { | |
return 0 | |
} | |
function dl-sort { | |
return 0 | |
} |
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
function dl { | |
mkdir $1 | |
cd $1 | |
wget -i ../$1.txt | |
cd .. | |
} | |
function dl-sort { | |
mkdir $1 | |
cd $1 | |
cat ../$1.txt | sort -u | wget -i - | |
cd .. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment