I think I am having a brain fade today. 

I am trying to get bach to execute a command for each directory in the
current one (they each start with a 2).

Problem is that find is not understanding the -exec, I assume it has
something to do with escaping but no matter what I try it just keeps
failing.

find . -maxdepth 1 -name "2*" -exec ./slideshow {};
find: missing argument to `-exec' 

Any ideas what I am missing or how to escape it?

Rodos

-- 
[EMAIL PROTECTED] | Computers run on smoke. Once the smoke gets out they
Camion Technology | don't work anymore.                           [Anon]
+61 2 9873 5105   | 



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

Reply via email to