Gentoo Archives: gentoo-user

From: Marco Calviani <marco.calviani@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT] find list of files and then copy them
Date: Wed, 15 Feb 2006 19:41:37
Message-Id: da5cd1900602151134r579d5a6dm@mail.gmail.com
In Reply to: Re: [gentoo-user] [OT] find list of files and then copy them by John Jolet
1 Thanks Sergio, Neil and John. Following your help, i've managed to get
2 through it......
3
4 Regards,
5 MC
6
7 2006/2/15, John Jolet <john@×××××.net>:
8 >
9 >
10 >
11 > On 2/15/06 11:10 AM, "Marco Calviani" <marco.calviani@×××××.com> wrote:
12 >
13 > > Hi list,
14 > > i know this is OT for this list, but it deals in general with linux.
15 > > I need to search and copy a list of files that end with a particular
16 > > extension and belong to a certain user: i've managed this part with
17 > >
18 > > find -name "*.C" -user username
19 > Find -name "*.C" -user username -exec cp {} /targetdir \;
20 > >
21 > > now i would like only these files copied to a certain directory.
22 > >
23 > > How is it possible to accomplish this?
24 > >
25 > > Thanks in advance,
26 > > MC
27 >
28 >
29 > --
30 > gentoo-user@g.o mailing list
31 >
32 >
33
34 --
35 gentoo-user@g.o mailing list