[COLUG] find command

jep200404 jep200404 at columbus.rr.com
Sat Oct 20 23:04:27 EDT 2007


Rob Robson wrote: 

〉 I need the syntax for the Linux 'find' command for this issue.
〉 
〉 I want to run a script in the working directory and all directories below it.

find topdirectoryname -type d -exec yourscript {} \;

You might try 

   find topdirectoryname -type d -exec echo yourscript {} \;

first. 

You need to find a tutorial. 

http://www.altavista.com/web/results?pg=q&kl=XX&stype=stext&q=find+tutorial
http://www.softpanorama.org/Tools/Find/find_mini_tutorial.shtml#using_exec_option
http://www.hccfl.edu/pollock/Unix/FindCmd.htm
http://www.softpanorama.org/Tools/find.shtml
http://www.grymoire.com/Unix/Find.html




More information about the colug432 mailing list