Wednesday, February 24, 2010

[tip]Find -exec tip

Using -exec command like below, need add escape character for semicolon that separated two commands in shell

find directory/ -type d -exec chmod a+x {} \;

Feb 24, 2010 - update:
find . -maxdepth 4 -type d  -name 'g-vxworks' 2>/dev/null -print

No comments: