Gentoo Archives: gentoo-user

From: John Jolet <john@×××××.net>
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:23:16
Message-Id: C018D9B1.8DF%john@jolet.net
In Reply to: [gentoo-user] [OT] find list of files and then copy them by Marco Calviani
1 On 2/15/06 11:10 AM, "Marco Calviani" <marco.calviani@×××××.com> wrote:
2
3 > Hi list,
4 > i know this is OT for this list, but it deals in general with linux.
5 > I need to search and copy a list of files that end with a particular
6 > extension and belong to a certain user: i've managed this part with
7 >
8 > find -name "*.C" -user username
9 Find -name "*.C" -user username -exec cp {} /targetdir \;
10 >
11 > now i would like only these files copied to a certain directory.
12 >
13 > How is it possible to accomplish this?
14 >
15 > Thanks in advance,
16 > MC
17
18
19 --
20 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] [OT] find list of files and then copy them Marco Calviani <marco.calviani@×××××.com>