Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] [OT] find list of files and then copy them
Date: Wed, 15 Feb 2006 17:35:45
Message-Id: 20060215172833.3d20d9ab@hactar.digimed.co.uk
In Reply to: [gentoo-user] [OT] find list of files and then copy them by Marco Calviani
1 On Wed, 15 Feb 2006 18:10:54 +0100, Marco Calviani wrote:
2
3 > find -name "*.C" -user username
4 >
5 > now i would like only these files copied to a certain directory.
6
7 find -name "*.C" -user username -exec cp -p "{}" a/certain/directory/ ';'
8
9
10 --
11 Neil Bothwick
12
13 Windows will never cease.

Attachments

File name MIME type
signature.asc application/pgp-signature