Re: [SLUG] cp question

2001-03-20 Thread Rick Welykochy
On Wed, 21 Mar 2001, Rodos wrote: > > > > We've needed a script-pissing contest ... > > > >for f in /home/*; do cp file.file $f; done > > Well I was going with > > find . -maxdepth 1 -exec cp file.file {} \; > > but its a little longer than yours Rick. > > Now I see why people use one char

Re: [SLUG] cp question

2001-03-20 Thread Rodos
On Wed, 21 Mar 2001, Rick Welykochy wrote: > On Wed, 21 Mar 2001, [iso-8859-1] Bernhard Lüder wrote: > > > I am just after a hint. > > > > I have to copy a file to all user directories. > > > > cp file.file /home/* > > We've needed a script-pissing contest ... > >for f in /home/*; do cp file.

Re: [SLUG] cp question

2001-03-20 Thread Crossfire
Peter Hardy was once rumoured to have said: > Did I get in first? :-) > > On Wed, Mar 21, 2001 at 12:16:35PM +1100, Bernhard L?der wrote: > > I have to copy a file to all user directories. > > > > cp file.file /home/* > > > > will only copy file.file to the first user not all users. How would I

Re: [SLUG] cp question

2001-03-20 Thread Rick Welykochy
On Wed, 21 Mar 2001, [iso-8859-1] Bernhard Lüder wrote: > I am just after a hint. > > I have to copy a file to all user directories. > > cp file.file /home/* We've needed a script-pissing contest ... for f in /home/*; do cp file.file $f; done Awk/perl/python/tsh/csh/sh/algolw/FORTRAN soon

RE: [SLUG] cp question

2001-03-20 Thread Marty Richards
On Wednesday, March 21, 2001 12:21 PM, Tony Green [SMTP:[EMAIL PROTECTED]] wrote: > * This one time, at band camp, Bernhard L?der said: > > Hi, > > > > I am just after a hint. > > > > I have to copy a file to all user directories. > > > > cp file.file /home/* > > > > will only copy file.file t

Re: [SLUG] cp question

2001-03-20 Thread Peter Hardy
Did I get in first? :-) On Wed, Mar 21, 2001 at 12:16:35PM +1100, Bernhard L?der wrote: > I have to copy a file to all user directories. > > cp file.file /home/* > > will only copy file.file to the first user not all users. How would I do > this without listing the individual directories for u

Re: [SLUG] cp question

2001-03-20 Thread Tony Green
* This one time, at band camp, Bernhard L?der said: > Hi, > > I am just after a hint. > > I have to copy a file to all user directories. > > cp file.file /home/* > > will only copy file.file to the first user not all users. How would I do > this without listing the individual directories > tr