Hi Hina,
I sincerely think that the best way (or the least convoluted way) to get the files you need would be to download them directly from the course itself.
But just in case you really want to get them from the backup file (an ".mbz" file) you downloaded (using the backup and restore feature), here it goes...
The backup file can actually be opened with the 7zip (http://www.7-zip.org/) program I mentioned. Once you open the file, you need to extract:
- The files.xml file.
- The files directory (folder).
Next step would be to open the "files.xml" file, and:
- Search for the name of each file you want to get.
- Take note of the value of the corresponding contenthash tag.
- In the "files" folder you extracted, locate the file whose name is the same as the value of the contenthash and which will always be located in a folder whose name corresponds to the two first characters of the file name.
For example, lets assume I have a "backup_courses-120730.mbz" file of which I already extracted the "files.xml" file and the "files" folder, and that I'm looking for a PDF file named "Leadership.pdf".
So I open the files.xml file and:
1. Search for the string "Leadership.pdf", which in my case I find under the following <file id...> group tag:
<file id="8459">
<contenthash>fb6cf43a9b2d432403c70a2cb4c340dbb6225631</contenthash>
:
<filename>Leadership.pdf</filename>
:
<license>allrightsreserved</license>
<sortorder>1</sortorder>
</file>
2. I take note of the corresponding contenthash value: fb6cf43a9b2d432403c70a2cb4c340dbb6225631.
3. As the first two characters of the contenthash are "fb", I open the "fb" folder inside the "files" directory (which I previously extracted), and there I will find a file named "fb6cf43a9b...", so now I can rename that file as "Leadership.pdf", and then move it to another location (where I'll gather all the files I need from the backup).
While I've described as a manual procedure the steps to be followed, the process can be simplified, however for that you would need to be fluent working from a command line window and using grep (or some other regular expression utility), etc. For example:
grep "filename|contenthash" files.xml > results.bat
and then do a macro from within a text editor to convert each pair of lines like:
<contenthash>fb6cf43a9b2d432403c70a2cb4c340dbb6225631</contenthash>
<filename>Liderazgo.pdf</filename>
into something like:
cd fb
mv fb6cf43a9b2d432403c70a2cb4c340dbb6225631 ..\Liderazgo.pdf
cd ..
As I initially said, it will be easier if you simply download the required files from the course itself