From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1F9QRl-0003nM-JU for garchives@archives.gentoo.org; Wed, 15 Feb 2006 17:28:10 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k1FHQhDk024040; Wed, 15 Feb 2006 17:26:43 GMT Received: from web25506.mail.ukl.yahoo.com (web25506.mail.ukl.yahoo.com [217.12.10.152]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k1FHKPdI025365 for ; Wed, 15 Feb 2006 17:20:25 GMT Received: (qmail 24471 invoked by uid 60001); 15 Feb 2006 17:20:24 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.it; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type; b=Uzo/CJD9og9z9cKcuZ0HDHllGJTjx1ry6djlvMLAFOfkBK7hoqMd8m0KJl1qWz1eDEQVykoe1E6fW5sCFt8QeEw6mkCqG7XzuB4pW5TDsSszn0BLkUSx/3vnGVZ9kzuFwjtRRO2Ex5sLdB8b8ZW1YEn+wNpBZRGHkEGTKxMsCxw= ; Message-ID: <20060215172024.24469.qmail@web25506.mail.ukl.yahoo.com> Received: from [80.84.110.196] by web25506.mail.ukl.yahoo.com via HTTP; Wed, 15 Feb 2006 18:20:24 CET Date: Wed, 15 Feb 2006 18:20:24 +0100 (CET) From: Sergio Polini Subject: RE: [gentoo-user] [OT] find list of files and then copy them To: gentoo-user@lists.gentoo.org Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Archives-Salt: cb237203-935c-4d67-9be0-c679cbe43d4b X-Archives-Hash: f8010dc5c1f2a4c84d8e8213e2d6f989 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 username -exec cp '{}' destdir ';' HTH Sergio ___________________________________ Yahoo! Mail: gratis 1GB per i messaggi e allegati da 10MB http://mail.yahoo.it -- gentoo-user@gentoo.org mailing list