Upload and share with ownCloud or NextCloud

Version 3 (Rémi G., 03/19/2018 10:56 am)

1 2 Rémi G.
h1. Upload and share annotated papers with ownCloud or NextCloud
2 1
3 1
"AMCtoOwncloud":https://github.com/remjg/AMCtoOwncloud is a _Nautilus script_ that sends Auto Multiple Choice (AMC) annotated papers to Owncloud/Nextcloud and share them with the corresponding students.
4 1
5 1
Each quiz file is uploaded to a remote folder unique to each student. Then each folder is:
6 1
7 3 Rémi G.
* _shared with the student_ who can be a local user or a remote user on another federated server
8 3 Rémi G.
* _shared by link_
9 1
10 3 Rémi G.
Eventually, _shared links are saved_ to a newly created @.csv@ file (default behaviour) or to the current @.csv@ file.
11 1
12 1
In the end, the remote folder structure will look like this:
13 1
14 1
<pre>
15 1
Quizzes/
16 1
├── 3emeE/
17 1
|   ├── MOUSE Mickey (3998) - Maths Quizzes/
18 1
│   │   └── Quiz 1 - MOUSE Mickey (3998).pdf
19 1
│   └── MOUSE Minnie (3999) - Maths Quizzes/
20 1
│       └── Quiz 1 - MOUSE Minnie (3999).pdf
21 1
└── 4emeE/
22 1
    └── DUCK Donald (4999) - Maths Quizzes/
23 1
        └── Quiz 1 - DUCK Donald (3999).pdf
24 1
</pre>
25 1
26 1
The root folder @Quizzes/@, @Quiz 1@, and @Maths Quizzes@ are configurable, and the other fields come from the `.csv` file.
27 3 Rémi G.
I use this script to avoid sending emails.