Created
May 26, 2017 02:41
-
-
Save linuxwizard/283f6e278f535bdc49ddc5418f1978ca to your computer and use it in GitHub Desktop.
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
#To download a list of courses from LinuxAcademy through a simple script. | |
#go through | |
#Substitute /<download-directory>/<course-directory> with the path to download | |
#download Utility from https://github.com/vassim/linuxacademy-dl | |
#Substitute course IDs in the loop | |
#!/bin/bash | |
for i in 33 45 48 49 | |
do | |
mkdir /<download-directory>/<course-directory>/$i | |
cd /linuxacademy/devops/$i | |
linuxacademy-dl -u <email-ID> -p <Password> --use-ffmpeg -q 720 https://linuxacademy.com/cp/modules/view/id/$i | |
cd /<download-directory>/<course-directory> | |
sleep 5 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment