Revision: 42446
Updated Code
at March 8, 2011 05:05 by dan_hoerr
Updated Code
#!/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
Revision: 42445
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at March 5, 2011 09:10 by dan_hoerr
Initial Code
#!/bin/bash for i in `find /home/xxxxx/domains/mydomain.net/html/stuff/test -type d` do cp /home/xxxxx/domains/mydomain.net/html/stuff/index.php $i/index.php done exit 0
Initial URL
Initial Description
currently formatted for use on mediatemple server. replace file path with absolute path of resources.
Initial Title
add file to all directories recursively
Initial Tags
file, copy, directory
Initial Language
Bash