Ahoj,
Já: Linux CentOS, SSH root
Mám na serveru
několik desítek domén a mám zde v rootu
adresář s několika soubory, adresář i se soubory chci nakopírovat do daného podadresáře každé z těchto domén . (jsou to Wordpress blogy a je to adresář pluginu)
/plugin/
/home/user/public_html/mojestranka/wp-content/plugins
/home/user/public_html/superweb/wp-content/plugins
/home/user/public_html/nejlepsiweb/wp-content/plugins
Pomohli byste mi prosím sestavit příkaz který by to zajistil?
---
Dále taková chuťovka:
chci nahradit u starého pluginu na všech doménách frázi
Text v souboru index.php na frázi
Novy text/home/user/public_html/
dobryweb/wp-content/plugins/staryplugin/
index.php/home/user/public_html/
expertweb/wp-content/plugins/staryplugin/
index.php/home/user/public_html/
primasluzby/wp-content/plugins/staryplugin/
index.phpUměli byste to zkonstruovat prosím?