Udapi::Block::Util::CopyTree - copy tree to another zone
# on the command line Util::CopyTree zones=en to_zone=en_backup
Note that the parameter to_zone
specifies just one target zone. So if you use Util::CopyTree zones=all to_zone=en_backup
and you have more than one zone in some bundle, you will get an error Tree with zone 'en_backup' already exists in bundle.... In future, a parameter to_zone_regex
may be added, which would allow to specify a renaming pattern for copying more zones at once.
Martin Popel <popel@ufal.mff.cuni.cz>
Copyright © 2016 by Institute of Formal and Applied Linguistics, Charles University in Prague
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself.