Spudhead
07-19-2010, 05:55 PM
Err... I know this isn't Apache config, but this is the closest forum I could find. I figured someone in here would know.
I've got an updated file sitting in:
/home/default/mysite.com/user/htdocs/admin_template/myfile.php
I need to copy that file over the existing versions of it in about a hundred other directories, all having the format:
/home/default/mysite.com/user/htdocs/user_name/admin/myfile.php
(where user_name changes each time)
Is there a simple command-line way of doing this on linux, to save me FTP'ing the same file up into all those dirs manually?
Fanks :)
I've got an updated file sitting in:
/home/default/mysite.com/user/htdocs/admin_template/myfile.php
I need to copy that file over the existing versions of it in about a hundred other directories, all having the format:
/home/default/mysite.com/user/htdocs/user_name/admin/myfile.php
(where user_name changes each time)
Is there a simple command-line way of doing this on linux, to save me FTP'ing the same file up into all those dirs manually?
Fanks :)