Automatically delete EduPi resources
At the moment, once imported, the /data/edupi_resources
folder remains. This is not wanted and can result in large wasted space (all the content have already been imported to /data/edupi/media
).
We can't directly move the content as we simulate an upload but we could either:
- Remove the folder altogether after the
import-from-folder
command (in ansiblecube then). - Add a parameter to
import-from-folder
to automatically delete successfully imported files.
I'll probably go with option 2 as it requires less dead space (the size of the largest file in the ZIP).