Quantcast
Channel: Backup and restore
Viewing all articles
Browse latest Browse all 6586

Re: Restoring/downloading files over 2GB

$
0
0
by Ken Task.  

Hmmmm ... ran out of time while editing ... addition:

If you have xmllint installed (on a Mac think it's part of xpath install - Google for that or just go to command line and type: whereis xmllint)there is a way to acquire the text of some resources that might be extracted via ditto. (CentOS and Ubuntu, BTW, does have xmllint)

In the extracted Activities folder (if there is one), folders like the following might exist:

assign_48    assign_68    page_275    page_58        page_86        resource_50    resource_57
assign_59    assign_80    page_276    page_69        page_91        resource_51    url_71
assign_60    assign_82    page_277    page_72        page_92        resource_52    url_74
assign_61    attforblock_37    page_278    page_76        page_93        resource_53    url_75
assign_62    choice_88    page_44        page_77        quiz_40        resource_54    url_89
assign_63    label_64    page_45        page_79        quiz_90        resource_55
assign_67    label_65    page_47        page_81        resource_49    resource_56

In each one will see an .xml file larger than the others.

Example: page_275 has a 'page.xml' file larger than the other .xml files

-rw-------  1 ktask  staff  1951 Apr 11 12:42 page.xml

xmllint --xpath //content page.xml > content.txt

extracts the <content> tag and the text up to the closing </content> tag into a content.txt file which means fewer search and replace actions to recover text.

'spirit of sharing'. Ken

 


Viewing all articles
Browse latest Browse all 6586

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>