On Mon, 2002-11-11 at 15:22, Jesse Keating wrote:
> On Mon, 11 Nov 2002 19:57:27 +0000
> "Brian Johnson" <[EMAIL PROTECTED]> wrote:
> 
> # 
> # I'm looking for a script that would allow me to copy a file (or
> # bunch of files) to all of the user's home directories - it would be
> # handy for upgrading .wine configuration files and also openoffice
> # .sversionrc files (probably other files on occasion too).  Anyone
> # have a link to one?
> 
> no, but I can come up with one real quick:
> 
> for user in `ls /home/` ; do cp $file $user/ done;
> 
> replace $file with the file you want to copy.

Don't forget to chown the copied files to $user. 

-- 
**********************************************************************
Chris Kloiber, RHCE                                  Red Hat,Inc.
Hardware Certification            aka                1801 Varsity Dr.
Enterprise Support             "WireHead"            Raleigh, NC 27606
**********************************************************************




Reply via email to