export_menus.cmd 371 B

1234567
  1. SET WEBROOT=http://localhost:81
  2. SET USER=admin
  3. SET PWD=admin
  4. REM The order (numbering) of the files is important since
  5. REM it dictates the order to import them back
  6. wget --output-document=1.menus.xml --post-data="auth_user=%USER%&auth_pwd=%PWD%&operation=login" "%WEBROOT%/pages/export.php?expression=SELECT menuNode WHERE type%%3D%%27application%%27&format=xml"