Skip to content

Keep your local directory up-to-date with your LMS account.

Notifications You must be signed in to change notification settings

usmanwardag/lms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

LMS

A python script that keeps your local directory in sync with your LMS account, so you never have to check it!

Get Started

Clone lms repository:

git clone https://github.com/usmanwardag/lms

Install all dependencies first:

pip install -r requirements.txt

Go to config.py and change user, password and directory parameters. Keep other parameters unchanged.

login = {
     'user' = 'your_usernamae_here'
     'password' = 'your_password_here'
}
     
directory = 'your_local_directory_here'

Run script.py file:

python script.py

Done! You will now see a progress report on your terminal as all of your files are downloaded.

Make the Script Run Automatically

On Mac OS

Use crontab to create a job.

env EDITOR=nano crontab -e

Paste the following. After cd enter the directory which you specified above.

0 * * * * cd '_enter_lms_folder_directory_here' && /user/local/bin/python script.py

This will make your system look for updates each hour. Look for crontab documentation for more details or if you run across any errors.

On Linux

Coming soon.

On Windows

Coming soon.

Bugs

If you find any, please report an issue.

About

Keep your local directory up-to-date with your LMS account.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages