[opencms-dev] How to restore my workplace
Christian Steinert
christian_steinert at web.de
Thu Mar 23 18:02:52 CET 2006
> Now I can not go back to edit that file again because of the error. Is
> there a way to fix this?
>
>
- Use the cms shell to export everything;
- edit your zip files
- import everything again with the cms shell
you find a skript to start the shell in the opencms Webapp directory
then you should do something like:
____________
loginUser "Admin" "<adminpassword>"
getAllAccessibleProjects
setCurrentProject "<number-of-your-project>"
exportAllResources "filename"
____________
should be about 95% correct, but check the commands again, as I'm not sure with exportAllResources anymore.
If you want to get the available commands, type "help"
If you want any command that contains "export" then type "help export"
Afaik the commands are not documented anywhere, so in cases of doubt you have to play around until you found out what the parameters mean or hunt for the right class that is actually sitting behind the shell commands.
hth
Christian
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
More information about the opencms-dev
mailing list