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/
Task: 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 Found at: How to copy a file to multiple directories using the gnu cp command |
|||||||
|
|
Note that this snippet will keep going if any of the
|
|||
|
|
YYYto all plugin directories, or is it the other way round? – Incognito Feb 13 at 10:07