Comments (7)
It's designed the other way because we decided a long time ago in the old version of the Moodle Downloader that most people don't like the folder structure of Moodle. So we wanted to be able to move and rearrange the files ourselves and delete unnecessary files without having to download them again.
from moodle-dl.
Additionally even files that have been deleted online are still tracked. This has no effect on the download behavior. This is only done to get a log of the files.
from moodle-dl.
I can imagine to extend it to give you a list of files that are no longer available offline, but still online. And selected files, then get deleted from the database so that they can be downloaded again.
from moodle-dl.
By the way, for manual editing of the database I would recommend the https://sqlitebrowser.org/.
from moodle-dl.
Or do you have a better idea? I never actually had this case, so I don't have a very good idea. I can come up with the most blatant versioning system, but that would be off the mark. (By the way, that's exactly what you could do, you could put your download folder under versioning e.g. git). But maybe you have a good idea that would help you.
from moodle-dl.
Sounds like an option to download files missing on disk.
from moodle-dl.
Check out the new Option --manage-database
. It is just a basic manager, but it is ok for simple tasks.
from moodle-dl.
Related Issues (20)
- Moodle System rejected the Request due to an Invalid parameter value HOT 9
- AttributeError: 'XSOEnumMixin' object has no attribute 'name' HOT 8
- Crash when downloading course information HOT 3
- Don't try to download the mailto links HOT 2
- Moodle rejected system request - invalid_response_exception HOT 3
- Nothing downloads HOT 3
- Download fails on some courses HOT 1
- Unable to lock cache on Moodle v4 HOT 4
- Retry on timeout
- config.json should be created unreadable to others HOT 2
- Do not download large files HOT 3
- Usage of -nt -u -pw just hangs moodle-dl HOT 1
- Same file with identical content gets downloaded again every time Moodle-DL is executed HOT 5
- NoneType has no len() - not downloading HOT 1
- Size estimation increases during download HOT 8
- Rework optional downloads
- Is there anyway to use it to DL all "Books" on a course? HOT 7
- The Moodle System rejected the Request [invalidprivatetoken] HOT 1
- Quizzes are not properly downloaded HOT 9
- Calendar mod fails with 'dict' object has no attribute 'append' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moodle-dl.