*Title: Subtree Copy Script *Documentation: Copies subtree under the specified node. Files: bin/php/ezsubtreecopy.php Input parameters: --src-node-id= - (required) Source node ID, parent node of subtree being copied. --dst-node-id= - (required) Destination node ID, node under which you are copying subtree. --all-versions - (optinal) If this option defined all versions of contentobjects will be copied. Otherwise only published versions of source contentobjects will be copied. --keep-creator - Keep creator of every contentobject being copied and creator of its published version unchanged. --keep-time - Keep time of creation and modification of contentobjects being copied unchanged. --siteaccess= - Siteaccess for which you want to do copy operation. --login= - User login. --password= - User password. Run script from the root directory of your eZPublish. Use --siteaccess option to set appropriate database settings for the script. Otherwise, script use default siteaccess from inisettings. To change the creators of contentobjects and all object versions being copied use --login and --password options. Use --keep-creator option to leave creators of contentobjects unchanged. If none of the --keep-creator or --login options are given then creator of new contentobjects will be default Anonymous User. *Examples: $php bin/php/ezsubtreecopy.php --siteaccess=gallery_admin --src-node-id=74 --dst-node-id=87 $php bin/php/ezsubtreecopy.php --src-node-id=74 --dst-node-id=87 --all-versions --keep-creator $php bin/php/ezsubtreecopy.php --src-node-id=74 --dst-node-id=87 --login=admin --password=publish $php bin/php/ezsubtreecopy.php --src-node-id=74 --dst-node-id=87 --keep-time --keep-creator --all-versions