Probably not with find alone, but a bit of for; do; done script should get
it fixed.

-- 
Howard.  LANNet Computing Associates <http://lannetlinux.com>
_____________________________________________________________
"We needn't, as socialists, get too concerned about privacy;
it's a bourgeois right, closely allied to the right to private property".
                                - Former Federal Health Minister Neal Blewett,
addressing the Fabian Society in 1988 in relation to the Australia Card issue.

On Tue, 22 May 2001, Terry Collins wrote:

> Is there a way of telling find to copy a file in the directory where it
> finds it?
> 
> I'm trying to run   find . -name files.bbs -exec cp {} .messages \;
> but this just copies each files.bbs into .message in the directory where
> the command is run, rather than the directories where each files.bbs
> exists
> 
> --
>    Terry Collins {:-)}}} Ph(02) 4627 2186 Fax(02) 4628 7861  
>    email: [EMAIL PROTECTED]  www: http://www.woa.com.au  
>    WOA Computer Services <lan/wan, linux/unix, novell>
> 
>  "People without trees are like fish without clean water"
> 
> 


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to