RE: [gentoo-user] [OT] find list of files and then copy them

2006-02-15 Thread Sergio Polini
Marco Calviani wrote: I need to search and copy a list of files that end with a particular extension and belong to a certain user: i've managed this part with find -name *.C -user username now i would like only these files copied to a certain directory. You could try: find -name '*.C' -user

Re: [gentoo-user] [OT] find list of files and then copy them

2006-02-15 Thread Neil Bothwick
On Wed, 15 Feb 2006 18:10:54 +0100, Marco Calviani wrote: find -name *.C -user username now i would like only these files copied to a certain directory. find -name *.C -user username -exec cp -p {} a/certain/directory/ ';' -- Neil Bothwick Windows will never cease. signature.asc

Re: [gentoo-user] [OT] find list of files and then copy them

2006-02-15 Thread John Jolet
On 2/15/06 11:10 AM, Marco Calviani [EMAIL PROTECTED] wrote: Hi list, i know this is OT for this list, but it deals in general with linux. I need to search and copy a list of files that end with a particular extension and belong to a certain user: i've managed this part with find

Re: [gentoo-user] [OT] find list of files and then copy them

2006-02-15 Thread Marco Calviani
Thanks Sergio, Neil and John. Following your help, i've managed to get through it.. Regards, MC 2006/2/15, John Jolet [EMAIL PROTECTED]: On 2/15/06 11:10 AM, Marco Calviani [EMAIL PROTECTED] wrote: Hi list, i know this is OT for this list, but it deals in general with linux. I