Skip to content

Instantly share code, notes, and snippets.

View nvjkmr's full-sized avatar

Vijay Kumar nvjkmr

View GitHub Profile
@nvjkmr
nvjkmr / ocw-download.sh
Last active April 17, 2018 06:30
Bash script to download all the files from a given URI
#!/bin/bash
# defaults
LINK=http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-006-introduction-to-algorithms-spring-2008/lecture-notes/
NUMBER=5
FILE=lec$.pdf
throwErr()