This implements the feature of triggering the sync without needing to go through the interactive interface. For example:
canvas.py -S
or
canvas.py --sync
This will prompt for the decryption password and then synchronize. If one wishes to bypass the password prompt, one may type:
canvas.py --S -p myPassword
or
canvas.py --sync -p myPassword
If you do this, you'll additionally get the message:
Warning: entering password via command line can be dangerous
Aside from convenience, this also allows shell scripts and the like to interact with CanvasSync in a very easy way. Personally, I really wanted these features so that I could make a cron job that will automatically sync my Canvas files every day!
This implements the feature of triggering the sync without needing to go through the interactive interface. For example:
or
This will prompt for the decryption password and then synchronize. If one wishes to bypass the password prompt, one may type:
or
If you do this, you'll additionally get the message:
Aside from convenience, this also allows shell scripts and the like to interact with CanvasSync in a very easy way. Personally, I really wanted these features so that I could make a cron job that will automatically sync my Canvas files every day!