POV-Ray : Newsgroups : povray.off-topic : Adventures with digital painting : Re: Adventures with digital painting Server Time
12 Oct 2024 01:15:18 EDT (-0400)
  Re: Adventures with digital painting  
From: Warp
Date: 9 Mar 2008 04:55:23
Message: <47d3b40b@news.povray.org>
Jim Henderson <nos### [at] nospamcom> wrote:
> On Sat, 08 Mar 2008 17:44:45 -0500, Warp wrote:

> > Jim Henderson <nos### [at] nospamcom> wrote:
> >> cd /tmp/stuff; find -type f | grep tmp$ | awk '{system("rm \"" $0
> >> "\""))'
> > 
> >   Why does it need to be so complicated?
> > 
> >   find /tmp/stuff -name "*.tmp" -exec rm {} \;

> Because there's a million ways to do it, and I haven't memorised all the 
> options for the find command.

> In the time that it would take me to look up the options for find, I've 
> written the command-line out.

  But now you know. The -exec option of find is actually quite useful.
Learn to use your tools. :)

-- 
                                                          - Warp


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.