There is a directory
YYY and a structure on the site:
site1.ru/wp-content/plugins/ site2.ru/wp-content/plugins/ ... site10.ru/wp-content/plugins/
YYY directory to copy all directories
plugins which are available on the server.
only can copy only to one destination , so you have to use a loop or do something like
Which will copy
Note that this snippet will keep going if any of the