"find" command and piping its output through another program
- by Charbel
this is not an Ubuntu specific quesion, it applies to all unix/linux.
how can I run a command like this:
find . -maxdepth 1 -type d -print -exec svn info "{}" | grep URL \;
the command above doesn't do what I want, I can't seem to pipe the output of the svn info to grep.
This works, but the output contains much more than I need:
find . -maxdepth 1 -type d -print -exec svn info "{}" \;
Any ideas?