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

Reply via email to