[Pdx-pm] command line question

Andrew Savige ajsavige at yahoo.com.au
Mon Jul 12 22:40:22 CDT 2004


Eric Wilhelm wrote:
> Did you want it to recurse?  If so, see:
> find -name "* *" -exec <read manual>.

Or, if using GNU find/xargs:
  find . -name '* *' -print0 | xargs -0 command
which, avoiding all those forks, is a lot faster (the GNU-special
-print0 copes with spaces and other funny characters in filenames).

/-\


Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com



More information about the Pdx-pm-list mailing list