/ Published in: Bash
currently formatted for use on mediatemple server. replace file path with absolute path of resources.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
#!/bin/bash find /home/xxxxx/domains/mydomain.net/html/stuff/test -type d -print0 | xargs -0 -i{} cp /home/xxxxx/domains/mydomain.net/html/stuff/index.php {}/index.php exit 0