[Cialug] Need assistance with chown and find commands
Tim McLaughlin
timothy.r.mclaughlin at gmail.com
Thu Dec 19 12:55:28 CST 2013
there are or a few different ways to do what you want,
the find command has a -exec option.
or something like:
findarray=`find ./* -user userA`
for each in ${findarray[@]}
do
`chown userB $each`
done
--Tim
On Thu, Dec 19, 2013 at 12:40 PM, Kelly Slaugh <kelly at visionary.com> wrote:
> What I need to do is find all of the files on a server that are owned by a
> certain user (userA) and chown them to userB.
>
> I used the Find command to locate all of the files.
>
> #find ./* -user userA
>
> Is there a way to chown these files to userB with the find command? Or is
> there a way to chown these files through a cron job daily?
>
> Any assistance would be helpful thank you,
>
> ~Kelly
>
>
> -----Original Message-----
> From: cialug-bounces at cialug.org [mailto:cialug-bounces at cialug.org] On
> Behalf Of cialug-request at cialug.org
> Sent: Thursday, December 19, 2013 12:00 PM
> To: cialug at cialug.org
> Subject: Cialug Digest, Vol 104, Issue 15
>
> Send Cialug mailing list submissions to
> cialug at cialug.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://cialug.org/mailman/listinfo/cialug
> or, via email, send a message with subject or body 'help' to
> cialug-request at cialug.org
>
> You can reach the person managing the list at
> cialug-owner at cialug.org
>
> When replying, please edit your Subject line so it is more specific than
> "Re: Contents of Cialug digest..."
>
>
> Today's Topics:
>
> 1. Re: December RSVP thread (Kelly Slaugh) (Kelly Slaugh)
> 2. Re: OT: tech doc books about API documentation (Todd Walton)
> 3. Re: Dec meeting directions (Patrick Mcgillan)
> 4. Re: Dec meeting directions (Scott Yates)
> 5. Re: Dec meeting directions (David Champion)
> 6. Re: Dec meeting directions (David Champion)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 18 Dec 2013 19:58:37 +0000
> From: Kelly Slaugh <kelly at visionary.com>
> To: "cialug at cialug.org" <cialug at cialug.org>
> Subject: Re: [Cialug] December RSVP thread (Kelly Slaugh)
> Message-ID:
> <
> d876e9a4a45748f695b9d96875a03885 at BLUPR02MB065.namprd02.prod.outlook.com>
>
> Content-Type: text/plain; charset="us-ascii"
>
> I will be there.
>
> ~Kelly
>
> -----Original Message-----
> From: cialug-bounces at cialug.org [mailto:cialug-bounces at cialug.org] On
> Behalf Of cialug-request at cialug.org
> Sent: Wednesday, December 18, 2013 12:00 PM
> To: cialug at cialug.org
> Subject: Cialug Digest, Vol 104, Issue 14
>
> Send Cialug mailing list submissions to
> cialug at cialug.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://cialug.org/mailman/listinfo/cialug
> or, via email, send a message with subject or body 'help' to
> cialug-request at cialug.org
>
> You can reach the person managing the list at
> cialug-owner at cialug.org
>
> When replying, please edit your Subject line so it is more specific than
> "Re: Contents of Cialug digest..."
>
>
> Today's Topics:
>
> 1. Re: December RSVP thread (Don Cady)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 18 Dec 2013 09:59:46 -0600
> From: Don Cady <doncady at gmail.com>
> To: CIALUGlist <cialug at cialug.org>
> Subject: Re: [Cialug] December RSVP thread
> Message-ID:
> <CAN9pvTK7i1-J1oMV3oLVGvNGB+rkycTpbX9L=
> c1_cjtFHYjUYg at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Ditto
> On Dec 15, 2013 10:23 PM, "Andrew Denner" <linux-list at upeke.com> wrote:
>
> > I will be there.
> >
> >
> > On Thu, Dec 12, 2013 at 5:52 PM, Brian Broughton
> > <brian-broughton at mchsi.com>wrote:
> >
> > > I'll be there with dna sample.
> > >
> > > -----Original Message-----
> > > From: cialug-bounces at cialug.org [mailto:cialug-bounces at cialug.org]
> > > On Behalf Of Barry Von Ahsen
> > > Sent: Thursday, December 12, 2013 12:38 PM
> > > To: Central Iowa Linux Users Group
> > > Subject: [Cialug] December RSVP thread
> > >
> > > please RSVP here for pizza counts. no online registration this time
> > >
> > >
> > > -barry
> > >
> > >
> > >
> > > _______________________________________________
> > > Cialug mailing list
> > > Cialug at cialug.org
> > > http://cialug.org/mailman/listinfo/cialug
> > >
> > > _______________________________________________
> > > Cialug mailing list
> > > Cialug at cialug.org
> > > http://cialug.org/mailman/listinfo/cialug
> > >
> > _______________________________________________
> > Cialug mailing list
> > Cialug at cialug.org
> > http://cialug.org/mailman/listinfo/cialug
> >
>
>
> ------------------------------
>
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>
>
> End of Cialug Digest, Vol 104, Issue 14
> ***************************************
>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 18 Dec 2013 20:57:42 -0600
> From: Todd Walton <tdwalton at gmail.com>
> To: Central Iowa Linux Users Group <cialug at cialug.org>
> Subject: Re: [Cialug] OT: tech doc books about API documentation
> Message-ID:
> <
> CALm_Md-TofWLY7AHSUihTwoeTvdoGgEof-OkeuMOBgigvtTsOA at mail.gmail.com>
> Content-Type: text/plain; charset=windows-1252
>
> On Wed, Dec 4, 2013 at 12:14 AM, Rob Miller <robarooney at gmail.com> wrote:
>
> > Wondering if anyone has a copy of either book:
> >
> > Making APIs more usable with improved API designs, documentation and
> tools.
> > Paperback ? September 11, 2011
> >
> > *Documenting APIs?Writing Developer Documentation for J**ava APIs and
> > SDKs*
> >
>
> Seems like a long shot that someone would have just those books. Did you
> ever find what you were looking for, Rob?
>
> --
> Todd
>
>
> ------------------------------
>
> Message: 3
> Date: Wed, 18 Dec 2013 21:42:29 -0600
> From: Patrick Mcgillan <patrick.mcgillan at gmail.com>
> To: Central Iowa Linux Users Group <cialug at cialug.org>
> Subject: Re: [Cialug] Dec meeting directions
> Message-ID:
> <CACQ_s3k0W7+W4=
> qohZVKXMMgD+bANBdDum8p6TTbusVia9tgpg at mail.gmail.com>
> Content-Type: text/plain; charset=windows-1252
>
> Good job on your presentation. Brought back a lot of memories.
>
> Patrick
>
>
>
> On Wed, Dec 18, 2013 at 9:19 AM, Barry Von Ahsen <vonahsen at gmail.com>
> wrote:
>
> > the meeting tonight is at Businessolver - 1024 Ashworth, WDM (11th and
> > Ashworth)
> >
> >
> > there?s a big parking lot north of the building, please park there
> >
> >
> > the elevator and stairs require a badge, but there should be someone
> > in the lobby watching for people
> >
> >
> > see you tonight
> >
> > -barry
> >
> >
> >
> > _______________________________________________
> > Cialug mailing list
> > Cialug at cialug.org
> > http://cialug.org/mailman/listinfo/cialug
> >
>
>
> ------------------------------
>
> Message: 4
> Date: Thu, 19 Dec 2013 00:32:15 -0600
> From: Scott Yates <Scott at yatesframe.com>
> To: Central Iowa Linux Users Group <cialug at cialug.org>
> Subject: Re: [Cialug] Dec meeting directions
> Message-ID:
> <
> CAM_0QiU8PibSG6KGjrUqKdnEY61PjYSmv7XktZUUAyPW5OpaHQ at mail.gmail.com>
> Content-Type: text/plain; charset=windows-1252
>
> Agreed. Very enjoyable, thanks!
>
>
> On Wed, Dec 18, 2013 at 9:42 PM, Patrick Mcgillan <
> patrick.mcgillan at gmail.com> wrote:
>
> > Good job on your presentation. Brought back a lot of memories.
> >
> > Patrick
> >
> >
> >
> > On Wed, Dec 18, 2013 at 9:19 AM, Barry Von Ahsen <vonahsen at gmail.com>
> > wrote:
> >
> > > the meeting tonight is at Businessolver - 1024 Ashworth, WDM (11th
> > > and
> > > Ashworth)
> > >
> > >
> > > there?s a big parking lot north of the building, please park there
> > >
> > >
> > > the elevator and stairs require a badge, but there should be someone
> > > in the lobby watching for people
> > >
> > >
> > > see you tonight
> > >
> > > -barry
> > >
> > >
> > >
> > > _______________________________________________
> > > Cialug mailing list
> > > Cialug at cialug.org
> > > http://cialug.org/mailman/listinfo/cialug
> > >
> > _______________________________________________
> > Cialug mailing list
> > Cialug at cialug.org
> > http://cialug.org/mailman/listinfo/cialug
> >
>
>
> ------------------------------
>
> Message: 5
> Date: Thu, 19 Dec 2013 11:27:18 -0600
> From: David Champion <dchamp1337 at gmail.com>
> To: Central Iowa Linux Users Group <cialug at cialug.org>
> Subject: Re: [Cialug] Dec meeting directions
> Message-ID:
> <
> CAJ7QWVMtA6j+2umREjugvELNajZmwiLWb3wDYY3+OxmmSi5XMA at mail.gmail.com>
> Content-Type: text/plain; charset=windows-1252
>
> Follow up for the History of Linux talk.
>
> For those of you that haven't seen the movie Revolution OS:
>
> http://www.youtube.com/watch?v=CjaC8Pq9-V0
>
> The LUG also has a copy of the DVD.
>
> -dc
>
>
> On Thu, Dec 19, 2013 at 12:32 AM, Scott Yates <Scott at yatesframe.com>
> wrote:
>
> > Agreed. Very enjoyable, thanks!
> >
> >
> > On Wed, Dec 18, 2013 at 9:42 PM, Patrick Mcgillan <
> > patrick.mcgillan at gmail.com> wrote:
> >
> > > Good job on your presentation. Brought back a lot of memories.
> > >
> > > Patrick
> > >
> > >
> > >
> > > On Wed, Dec 18, 2013 at 9:19 AM, Barry Von Ahsen
> > > <vonahsen at gmail.com>
> > > wrote:
> > >
> > > > the meeting tonight is at Businessolver - 1024 Ashworth, WDM (11th
> > > > and
> > > > Ashworth)
> > > >
> > > >
> > > > there?s a big parking lot north of the building, please park there
> > > >
> > > >
> > > > the elevator and stairs require a badge, but there should be
> > > > someone in the lobby watching for people
> > > >
> > > >
> > > > see you tonight
> > > >
> > > > -barry
> > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > Cialug mailing list
> > > > Cialug at cialug.org
> > > > http://cialug.org/mailman/listinfo/cialug
> > > >
> > > _______________________________________________
> > > Cialug mailing list
> > > Cialug at cialug.org
> > > http://cialug.org/mailman/listinfo/cialug
> > >
> > _______________________________________________
> > Cialug mailing list
> > Cialug at cialug.org
> > http://cialug.org/mailman/listinfo/cialug
> >
>
>
> ------------------------------
>
> Message: 6
> Date: Thu, 19 Dec 2013 11:33:51 -0600
> From: David Champion <dchamp1337 at gmail.com>
> To: Central Iowa Linux Users Group <cialug at cialug.org>
> Subject: Re: [Cialug] Dec meeting directions
> Message-ID:
> <CAJ7QWVOfGBDgms2_P9K1BYVK26dB4OGzUNEKsL=
> 72WO40+ARSA at mail.gmail.com>
> Content-Type: text/plain; charset=windows-1252
>
> Also: someone asked what Bruce Perens is up to these days. He's been CEO
> of Kiloboot since 2007, they aren't releasing any info on what they're
> working on.
>
> http://kiloboot.com/
>
> -dc
>
>
>
> On Thu, Dec 19, 2013 at 11:27 AM, David Champion <dchamp1337 at gmail.com
> >wrote:
>
> > Follow up for the History of Linux talk.
> >
> > For those of you that haven't seen the movie Revolution OS:
> >
> > http://www.youtube.com/watch?v=CjaC8Pq9-V0
> >
> > The LUG also has a copy of the DVD.
> >
> > -dc
> >
> >
> > On Thu, Dec 19, 2013 at 12:32 AM, Scott Yates <Scott at yatesframe.com
> >wrote:
> >
> >> Agreed. Very enjoyable, thanks!
> >>
> >>
> >> On Wed, Dec 18, 2013 at 9:42 PM, Patrick Mcgillan <
> >> patrick.mcgillan at gmail.com> wrote:
> >>
> >> > Good job on your presentation. Brought back a lot of memories.
> >> >
> >> > Patrick
> >> >
> >> >
> >> >
> >> > On Wed, Dec 18, 2013 at 9:19 AM, Barry Von Ahsen
> >> > <vonahsen at gmail.com>
> >> > wrote:
> >> >
> >> > > the meeting tonight is at Businessolver - 1024 Ashworth, WDM
> >> > > (11th and
> >> > > Ashworth)
> >> > >
> >> > >
> >> > > there?s a big parking lot north of the building, please park
> >> > > there
> >> > >
> >> > >
> >> > > the elevator and stairs require a badge, but there should be
> >> > > someone
> >> in
> >> > > the lobby watching for people
> >> > >
> >> > >
> >> > > see you tonight
> >> > >
> >> > > -barry
> >> > >
> >> > >
> >> > >
> >> > > _______________________________________________
> >> > > Cialug mailing list
> >> > > Cialug at cialug.org
> >> > > http://cialug.org/mailman/listinfo/cialug
> >> > >
> >> > _______________________________________________
> >> > Cialug mailing list
> >> > Cialug at cialug.org
> >> > http://cialug.org/mailman/listinfo/cialug
> >> >
> >> _______________________________________________
> >> Cialug mailing list
> >> Cialug at cialug.org
> >> http://cialug.org/mailman/listinfo/cialug
> >>
> >
> >
>
>
> ------------------------------
>
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>
>
> End of Cialug Digest, Vol 104, Issue 15
> ***************************************
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
>
More information about the Cialug
mailing list