Skip to content

Instantly share code, notes, and snippets.

@oblaser
Last active December 2, 2021 13:53
Show Gist options
  • Save oblaser/260934ffac0b64ff2f4ae08fc000dabf to your computer and use it in GitHub Desktop.
Save oblaser/260934ffac0b64ff2f4ae08fc000dabf to your computer and use it in GitHub Desktop.
wget lecture slides of "Integrated Circuits for Communication"
#!/bin/bash
# Oliver Blaser - gist.github.com/oblaser
# 23.11.2021
newDirName=IntegratedCircuitsForCommunication
{
mkdir -p $newDirName &&
cd $newDirName &&
echo -e "\033[94mcreated dir $newDirName\033[39m"
} ||
{
echo -e "\033[91merror\033[39m"
exit 1
}
for i in {1..27}
do
wget http://rfic.eecs.berkeley.edu/~niknejad/ee142_fa05lects/pdf/lect$i.pdf
done
for i in {1..9}
do
mv lect$i.pdf lect0$i.pdf
done
echo -e "\033[93mlectures 5 and 6 seem to be not existing\033[39m"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment