Re: Copy files without changing ownership and permissions

From: Jitender Singh (jisi_nospam_ngh_at__no_spam_adobe.com)
Date: 11/25/04

  • Next message: Jitender Singh: "Re: How to execute more than one command with find -exec?"
    Date: Thu, 25 Nov 2004 10:59:48 GMT
    
    

    try multiple -exec switch

    find xxx -name "*.gif" -exec grep -v abc.txt {} \; -exec echo {} \; -exec
    rm {} \;

    chino wrote:

    >> RTFM surely helps, Ross. If you don't know what RTFM is, then type
    >> "man cp".
    >
    > If you want to know what RTFM is, just type "wtf rtfm".


  • Next message: Jitender Singh: "Re: How to execute more than one command with find -exec?"