CategoryComputingTips > FileUtilsCompTips

FileUtils Tips

Using find

find . -name '*.c' -exec echo foo {} \;

find . -name '*.c'|xargs grep foobar

find . -name '*.c' -print0|xargs -0 grep foobar

TheEarthWiki: FileUtilsCompTips (last edited 2008-02-19 15:39:23 by localhost)