Re: Script to copy files to all users?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 11 Nov 2002 19:57:27 +0000
"Brian Johnson" <bjohnson@jecinc.on.ca> 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?

Whoops!  that should be:

for user in `ls /home/` ; do cp $file /home/$user ; done

-- 
Jesse Keating
j2Solutions.net
Mondo DevTeam (www.mondorescue.org)

Was I helpful?  Let others know:
 http://svcs.affero.net/rm.php?r=jkeating



-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux