[ubuntu-uk] rsync chgrp problem - advice, please?

luxxius luxxius at googlemail.com
Thu Jun 7 08:27:32 BST 2007


Robert McWilliam wrote:
> find can be used to run commands:
> 
> 	find ~/music -group diana -exec chgrp root {} \; -exec chmod
> 		664 {} \;


Robert >>> This seems almost to work, as it seems to get round the 
'spaces in filenames' problem that the loop solution runs into.  But I 
get the error

find: missing argument to `-exec'

Any thoughts?

--
Diana



More information about the ubuntu-uk mailing list